:root {
    --pink: #EFBFB3;
    --teal: #95C0B1;
    --white: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--gray);
    color: #333;
}

header {
    background-color: var(--white);
    padding: 1rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 200px;
    width: 20vw;
    min-width: 150px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 0 1rem;
}

.header-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #000000;
    z-index: 1;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 1.3rem;
}

nav a:hover, nav a.active {
    background-color: var(--pink);
    color: var(--white);
    transform: translateY(-2px);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--teal);
}

.modal-close:hover {
    color: var(--pink);
}

/* Mobile menu button */
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.menu-toggle:hover {
    background-color: var(--gray);
}

.menu-toggle i {
    color: #000000;
    font-size: 1.5rem;
    line-height: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        padding-top: 3rem;
    }

    .menu-toggle {
        display: flex; /* Only show on mobile */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 4rem 1rem 1rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav a {
        width: 100%;
        text-align: left;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--gray);
    }

    nav a:hover, nav a.active {
        background-color: var(--pink);
        color: var(--white);
        transform: none;
    }

    .logo {
        width: 30vw;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40vw;
        min-width: 100px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 2px solid var(--pink);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    color: var(--teal);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #666;
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--pink);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a i {
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
}

.social-links a:hover {
    color: var(--pink);
}