/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #a66744;
    /* Warm Terracotta */
    --primary-hover: #935e3b;
    --secondary-color: #2c3e50;
    /* Dark Slate */
    --accent-color: #0077b6;
    /* Blue Accent */
    --bg-color: #f9f8f6;
    /* Off-white background */
    --card-bg: #ffffff;
    --section-alt-bg: #f0eee9;
    /* Slightly darker for alternating sections */
    --text-color: #333333;
    --light-text: #ffffff;
    --navbar-bg: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* Increased line height for readability */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--navbar-bg);
    color: var(--text-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 55px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-left: 25px;
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

#lang-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: transparent;
    font-family: var(--font-body);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    /* Gradient overlay */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle glass effect */
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
    font-size: 4rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-text p {
    font-size: 1.6rem;
    color: #f8f8f8;
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    padding: 16px 36px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(166, 103, 68, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--light-text);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 103, 68, 0.4);
}

/* Content Sections */
section.content {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--section-alt-bg);
}

section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #4a4a4a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Cards & Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    /* Reset text align for cards */
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.card p {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* List Styling */
ul.styled-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

ul.styled-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #4a4a4a;
}

ul.styled-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Footer */
footer {
    background: #e9e7e2;
    color: #666;
    text-align: center;
    padding: 60px 0;
    margin-top: 0;
    /* Removed margin since we use padding in sections */
    font-size: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        /* Adjust based on navbar height */
        height: calc(100vh - 70px);
        background-color: var(--navbar-bg);
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
        gap: 40px;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}