@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --ivory-white: #FFFEF7;
    --dusty-rose: #D4A5A5;
    --charcoal-grey: #2C2C2C;
    --metallic-gold: #D4AF37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    place-content: center;
    min-height: 50px;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal-grey);
    background-color: var(--ivory-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--charcoal-grey);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--dusty-rose);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--metallic-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--ivory-white);
    box-shadow: 0 2px 10px rgba(44, 44, 44, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-grey);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--charcoal-grey);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--metallic-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal-grey);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    background: linear-gradient(135deg, var(--dusty-rose) 0%, rgba(212, 165, 165, 0.8) 100%);
    color: var(--ivory-white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--ivory-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--metallic-gold);
    color: var(--charcoal-grey);
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
}

.btn:hover {
    background-color: var(--charcoal-grey);
    color: var(--ivory-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 44, 44, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--metallic-gold);
    color: var(--metallic-gold);
}

.btn-secondary:hover {
    background-color: var(--metallic-gold);
    color: var(--charcoal-grey);
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--metallic-gold);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--ivory-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(44, 44, 44, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 44, 44, 0.2);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    color: var(--charcoal-grey);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--charcoal-grey);
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item .icon {
    font-size: 3rem;
    color: var(--metallic-gold);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--ivory-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(44, 44, 44, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--charcoal-grey);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dusty-rose);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

footer {
    background-color: var(--charcoal-grey);
    color: var(--ivory-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--ivory-white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 254, 247, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--metallic-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 254, 247, 0.2);
}

.footer-bottom p {
    color: rgba(255, 254, 247, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 254, 247, 0.8);
    font-size: 0.85rem;
}

.privacy-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--ivory-white);
    border: 2px solid var(--dusty-rose);
    border-radius: 10px;
    padding: 2rem;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(44, 44, 44, 0.3);
    z-index: 10000;
}

.privacy-popup.active {
    display: block;
}

.privacy-popup h3 {
    margin-bottom: 1rem;
    color: var(--charcoal-grey);
}

.privacy-popup p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--charcoal-grey);
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-popup-buttons .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--charcoal-grey);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--dusty-rose);
}

.content-section h3 {
    color: var(--charcoal-grey);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: var(--ivory-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(44, 44, 44, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    }

    .nav-menu li a {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    section {
        padding: 3rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .privacy-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 1.5rem;
    }

    .privacy-popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (min-width: 769px) {
    .contact-page-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1.25rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .card-content {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
