/* 
* Reset CSS
* A minimal CSS reset to ensure consistent styling across browsers
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* Sets 1rem = 10px for easy rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2rem 0;
}

p {
    margin: 0 0 2rem 0;
}

ul, ol {
    margin: 0 0 2rem 0;
    padding-left: 2rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* Remove default button styling */
button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

/* Remove default list styling */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #d7bd88;
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 1000;
    padding: 1rem 2rem;
    background-color: #10214b;
    color: #ebe7e1;
    font-weight: 700;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
}
