* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Earthy, calming color palette */
    --primary-sage: #8B9D83;
    --primary-green: #A7C4A0;
    --dark-sage: #487059;
    --soft-beige: #F5F1E8;
    --warm-cream: #FFF8F0;
    --muted-blue: #B4C7D0;
    --lavender: #C9B8D0;
    --earth-brown: #8B7355;
    --text-dark: #4A4A4A;
    --text-light: #6B6B6B;
    --accent-gold: #D4AF37;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--soft-beige) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Navigation */
nav {
    background: rgba(139, 157, 131, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Hamburger Menu - Hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--warm-cream);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
}

nav a {
    color: var(--warm-cream);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.4s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    background-color: rgba(255, 248, 240, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--warm-cream);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0.7;
    letter-spacing: 1px;
}

.lang-btn:hover {
    opacity: 1;
    background-color: rgba(255, 248, 240, 0.15);
}

.lang-btn.active {
    opacity: 1;
    background-color: rgba(255, 248, 240, 0.25);
    transform: scale(1.05);
}

.lang-separator {
    color: var(--warm-cream);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    min-height: 500px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(167, 196, 160, 0.1) 0%, rgba(180, 199, 208, 0.1) 100%);
    border-radius: 40px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background Image */
.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Hidden until image is added */
}

/* Show hero image when it exists */
.hero-image[src*=".jpg"],
.hero-image[src*=".png"],
.hero-image[src*=".jpeg"],
.hero-image[src*=".webp"],
.hero-image[src*=".avif"] {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 184, 208, 0.1) 0%, transparent 70%);
    animation: gentle-float 20s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(5deg); }
}

.hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #eee6d5;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero p {
    color: var(--soft-beige);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    position: relative;
    z-index: 1;
}

/* Section spacing for single-page layout */
section {
    scroll-margin-top: 80px; /* Offset for sticky nav */
}

section.content {
    margin-bottom: 2rem;
}

.content {
    background: rgba(255, 255, 255, 0.7);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Preview Section Styling */
.preview-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    min-height: 400px;
}

.preview-section-reverse {
    flex-direction: row-reverse;
}

.preview-image {
    flex: 0 0 35%;
    width: 35%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.preview-image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.preview-section:hover .preview-image img {
    transform: scale(1.05);
}

.preview-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-text h2 {
    /* margin-bottom: 1.2rem; */
    color: var(--primary-sage);
    text-align: center;
}
.preview-text h3 {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    text-align: center;
}

.preview-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    flex-grow: 1;
}

.preview-text .btn {
    display: inline-block;
    align-self: flex-start;
}

/* Contact Summary Section */
.contact-summary {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-summary-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.contact-info-left {
    flex: 1;
}

.contact-info-left h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-sage);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details p {
    text-align: left;
    padding: 1rem;
    background: rgba(167, 196, 160, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-sage);
    margin: 0;
}

.contact-info-right {
    flex: 0 0 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
    .contact-summary-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info-right {
        flex: 1;
        width: 100%;
    }
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.profile-image-placeholder {
    flex: 0 0 300px;
    min-width: 250px;
}

.profile-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 157, 131, 0.3);
    background: linear-gradient(135deg, rgba(167, 196, 160, 0.2) 0%, rgba(180, 199, 208, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Show profile image only when it exists */
.profile-image[src$=".jpg"],
.profile-image[src$=".png"],
.profile-image[src$=".jpeg"],
.profile-image[src$=".webp"],
.profile-image[src$=".avif"] {
    background: none;
}

/* Placeholder styling when no image */
.profile-image:not([src$=".jpg"]):not([src$=".png"]):not([src$=".jpeg"]):not([src$=".webp"]):not([src$=".avif"])::before {
    content: '📸';
    font-size: 4rem;
    opacity: 0.3;
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
    }
    
    .profile-image-placeholder {
        flex: 1;
        width: 100%;
    }
    
    .profile-image {
        height: 350px;
    }
    
    .preview-section,
    .preview-section-reverse {
        flex-direction: column;
    }
    
    .preview-image {
        flex: 1;
        width: 100%;
        height: 250px;
    }
    
    .preview-section {
        padding: 2rem;
    }
    
    .preview-text {
        text-align: center;
    }
}

.content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--primary-sage);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--earth-brown);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 400;
}

.content h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--earth-brown);
    margin: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.content p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content ul {
    margin-left: 2.5rem;
    color: var(--text-light);
    list-style: none;
}

.content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content li::before {
    content: '🌿';
    position: absolute;
    left: -0.5rem;
}

/* Button */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-green) 100%);
    color: var(--warm-cream);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(139, 157, 131, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 157, 131, 0.4);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-sage) 100%);
}

/* Form */
form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(139, 157, 131, 0.2);
    border-radius: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-sage);
    background: white;
    box-shadow: 0 5px 20px rgba(139, 157, 131, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.95) 0%, rgba(139, 115, 85, 0.95) 100%);
    color: var(--warm-cream);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ======================================== */

/* Tablet and smaller (max-width: 992px) */
@media (max-width: 992px) {
    main {
        padding: 2rem 1.5rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        border-radius: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .content {
        padding: 2rem;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
}

/* Mobile landscape and smaller (max-width: 768px) */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        position: relative; /* Remove sticky on mobile */
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        position: relative;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(139, 157, 131, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem 2rem;
        transition: left 0.3s ease;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 200;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }
    
    .language-switcher {
        position: fixed;
        top: 1.5rem;
        left: -100%;
        transition: left 0.3s ease;
        z-index: 201;
        padding: 1rem 2rem;
    }
    
    .language-switcher.active {
        left: 0;
    }
    
    /* Overlay when menu is open */
    nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 199;
    }
    
    nav.menu-open::before {
        opacity: 1;
        visibility: visible;
    }
    
    main {
        padding: 1.5rem 1rem;
    }
    
    .hero {
        padding: 3rem 1.5rem;
        border-radius: 25px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .profile-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-image-placeholder {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .profile-image {
        height: 350px;
    }
    
    .profile-text {
        min-width: 100%;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    form {
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .content ul {
        margin-left: 1.5rem;
    }
}

/* Mobile portrait (max-width: 480px) */
@media (max-width: 480px) {
    nav {
        padding: 0.75rem 0.5rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    main {
        padding: 1rem 0.75rem;
    }
    
    .hero {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .content {
        padding: 1.5rem 1rem;
    }
    
    .content h1 {
        font-size: 1.5rem;
    }
    
    .content h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .profile-image {
        height: 300px;
    }
    
    .profile-section {
        gap: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%; /* Full width buttons on small screens */
        text-align: center;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .content ul {
        margin-left: 1rem;
    }
    
    .content li {
        padding-left: 1rem;
        font-size: 0.95rem;
    }
    
    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* Very small screens (max-width: 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .content h1 {
        font-size: 1.3rem;
    }
    
    .profile-image {
        height: 250px;
    }
}