/* Mat & Maternity Color Scheme - Based on Logo */
:root {
    --primary-color: #D4A59A;        /* Peachy coral from logo */
    --primary-dark: #B8867C;         /* Darker shade for hover */
    --primary-light: #E8C9C1;        /* Lighter shade */
    --background-light: #F5EFE7;     /* Warm cream background */
    --background-dark: #2A2520;      /* Dark mode background */
    --text-dark: #4A4540;            /* Dark text color */
    --text-light: #F5EFE7;           /* Light text for dark mode */
}

/* Import Google Fonts - Matching logo style */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* Global Typography - Match logo fonts */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
}

/* Hero/Introduction Section */
.intro {
    background-color: var(--background-light);
}

.intro h1, .intro .title {
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.intro p {
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

/* Hero section with background logo */
.hero-body {
    background-color: var(--background-light);
}

.hero-body .container {
    position: relative;
    z-index: 10;
}

.hero-body h1, .hero-body .bold-title {
    text-shadow: 2px 2px 4px rgba(245, 239, 231, 0.8);
}

.hero-body .subtitle {
    text-shadow: 1px 1px 3px rgba(245, 239, 231, 0.8);
}

/* Links and Buttons */
a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* PROMINENT LANGUAGE SWITCHER - Updated with logo colors */
.prominent-lang-switcher {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prominent-lang-switcher .lang-button {
    padding: 1.25rem 3.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    background: var(--primary-color);
    color: var(--background-light) !important;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 165, 154, 0.4);
    border: 4px solid var(--primary-color);
    letter-spacing: 1px;
    min-width: 220px;
    text-align: center;
    display: inline-block;
}

.prominent-lang-switcher .lang-button:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 154, 0.5);
    border-color: var(--primary-dark);
}

/* Subtle pulsing animation to draw attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(212, 165, 154, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(212, 165, 154, 0.7);
    }
}

.prominent-lang-switcher .lang-button {
    animation: pulse 2s ease-in-out infinite;
}

/* Navigation */
.nav a {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-dark);
}

/* Social Icons */
.social i, .social svg {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social i:hover, .social svg:hover {
    color: var(--primary-dark);
}

/* Dark mode adjustments */
.dark {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.dark .intro {
    background-color: var(--background-dark);
}

.dark .prominent-lang-switcher .lang-button {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(184, 134, 124, 0.5);
    color: var(--text-light) !important;
}

.dark .prominent-lang-switcher .lang-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(184, 134, 124, 0.6);
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark .title {
    color: var(--primary-light);
}

.dark a {
    color: var(--primary-light);
}

.dark a:hover {
    color: var(--primary-color);
}

.dark .nav a {
    color: var(--primary-light);
}

.dark .social i, .dark .social svg {
    color: var(--primary-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .prominent-lang-switcher .lang-button {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .prominent-lang-switcher .lang-button {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
        min-width: 160px;
    }
}

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: var(--background-light);
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.announcement-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.announcement-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--background-light);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.announcement-close:hover {
    opacity: 1;
}

/* Adjust body padding to account for fixed banner */
body {
    padding-top: 3.5rem;
}

/* Dark mode adjustments for banner */
.dark .announcement-banner {
    background: var(--primary-dark);
    color: var(--text-light);
}

.dark .announcement-close {
    color: var(--text-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .announcement-text {
        font-size: 1.1rem;
    }

    body {
        padding-top: 3rem;
    }
}

@media (max-width: 480px) {
    .announcement-text {
        font-size: 1rem;
        padding-right: 2rem;
    }

    .announcement-close {
        right: 0.5rem;
        font-size: 1.5rem;
    }
}
