@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --midnight-navy: #1a2332;
    --champagne-gold: #d4af37;
    --soft-silk-white: #faf9f6;
    --deep-burgundy: #722f37;
    --charcoal-grey: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--charcoal-grey);
    background-color: var(--soft-silk-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--midnight-navy);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--midnight-navy);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--champagne-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

header {
    background-color: var(--soft-silk-white);
    padding: 1rem 2rem;
    min-height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight-navy);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--midnight-navy);
    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);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--soft-silk-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
}

.mobile-nav li {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

section {
    margin: 2rem 0;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    margin-top: 0;
    padding: 0;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('../images/hero-background.jpg');
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,35,50,0.7), rgba(114,47,55,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--soft-silk-white);
}

.hero-content h1 {
    color: var(--soft-silk-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--champagne-gold);
    color: var(--midnight-navy);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 4px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212,175,55,0.4);
    background-color: var(--deep-burgundy);
    color: var(--soft-silk-white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--champagne-gold);
    color: var(--champagne-gold);
}

.btn-secondary:hover {
    background-color: var(--champagne-gold);
    color: var(--midnight-navy);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background-color: var(--soft-silk-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--soft-silk-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--midnight-navy);
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--champagne-gold);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.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 {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

footer {
    background-color: var(--midnight-navy);
    color: var(--soft-silk-white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--champagne-gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--soft-silk-white);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--champagne-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.privacy-links {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy-links a {
    font-size: 0.9rem;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--midnight-navy);
    color: var(--soft-silk-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.privacy-popup.active {
    display: block;
}

.popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.popup-text {
    flex: 1;
    min-width: 300px;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-btn-accept {
    background-color: var(--champagne-gold);
    color: var(--midnight-navy);
}

.popup-btn-accept:hover {
    background-color: var(--deep-burgundy);
    color: var(--soft-silk-white);
}

.popup-btn-decline {
    background-color: transparent;
    border: 2px solid var(--soft-silk-white);
    color: var(--soft-silk-white);
}

.popup-btn-decline:hover {
    background-color: var(--soft-silk-white);
    color: var(--midnight-navy);
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.success-content {
    max-width: 600px;
}

.success-content h1 {
    color: var(--champagne-gold);
    margin-bottom: 1rem;
}

.legal-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.legal-page h1 {
    margin-bottom: 2rem;
    color: var(--midnight-navy);
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-burgundy);
}

.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    margin-bottom: 1rem;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    nav ul {
        display: none;
    }

    .mobile-nav ul{
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .privacy-popup {
        padding: 1rem;
    }
    
    .popup-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .popup-text {
        min-width: auto;
        width: 100%;
    }
    
    .popup-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .popup-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .popup-btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .card img {
        height: 180px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 0 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .privacy-popup {
        padding: 0.875rem;
    }
    
    .popup-text p {
        font-size: 0.85rem;
    }
    
    .popup-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .card img {
        height: 160px;
    }
    
    form {
        padding: 1.5rem;
    }
}
