/* Import Instrument Serif font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #B66681;
    --text-color: #333;
    --background-color: #fff;
}

body {
    font-family: "Cormorant", serif;
    font-weight: 400;
    line-height: 1.5;
    font-size: 1.5rem;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Hides the scrollbar */
html, body {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    display: none;
}

main {
    background-color: #FFE9EF;
    margin-top: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

footer {
    background-color: #B66681;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    body {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    main {
        margin-top: 0;
    }
}

/* Prevent content overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Handle mobile navigation open state */
body.nav-open {
    overflow: hidden;
}

/* Improve touch targets on mobile */
button,
a {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent horizontal scroll */
.container {
    overflow-x: hidden;
    width: 100%;
}

/* Improve form elements on mobile */
input,
textarea,
select,
button {
    font-size: 16px; /* Prevents iOS zoom on focus */
}

@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}
