@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-grey-color: #ccc;

    /* Font size */
    --font-size-s: 0.875rem;
    --font-size-n: 1rem;
    --font-size-m: 1.125rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.5rem;

    /* Font weight */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semi-bold: 600;
    --font-weight-bold: 700;

    /* Border radius */
    --border-radius-s: 8px;
    --border-radius-m: 16px;
    --border-radius-l: 24px;
    --border-radius-circle: 50%;

    /* Site max width */
    --site-max-width: 1300px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 1.5rem;
    --space-l: 2rem;
    --space-xl: 3rem;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8fafc;
}

/* Navigation styling */
nav {
    height: 80px;
    width: 100%;
    background: rgba(245, 230, 214, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-m);
    position: sticky;
    top: 0;
    z-index: 100;
}

.fiesta {
    width: 60px;
    height: 50px;
    object-fit: contain;
}

label.logo {
    color: var(--dark-color);
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    font-family: 'Playfair Display', Georgia, serif;
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--dark-color);
    font-size: var(--font-size-n);
    padding: var(--space-xs) var(--space-s);
    border: 2px solid transparent;
    text-transform: uppercase;
    border-radius: var(--border-radius-m);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

a.active,
a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-s);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: var(--dark-color);
    padding: var(--space-s) var(--space-m);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-s);
    text-transform: none;
    font-weight: var(--font-weight-normal);
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.dropdown-content a:hover {
    background: var(--light-pink-color);
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: transparent;
}

.dropdown-content a i {
    color: var(--secondary-color);
    width: 16px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-xl) var(--space-l);
    overflow-y: auto;
}

.sidebar li {
    width: 100%;
    margin-bottom: var(--space-s);
}

.sidebar a {
    width: 100%;
    padding: var(--space-s);
    border-radius: var(--border-radius-s);
}

.materials-symbols-outlined {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .hideonMobile {
        display: none;
    }
    .materials-symbols-outlined {
        display: block;
    }
}

@media (max-width: 900px) {
    .logo {
        font-size: var(--font-size-s);
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

/* === Sidebar dropdown support === */
.sidebar-dropdown {
    width: 100%;
}

.sidebar-dropdown .sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    padding: var(--space-s);
    border-radius: var(--border-radius-s);
    color: var(--dark-color);
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
}

.sidebar-dropdown .sidebar-link:hover {
    background: var(--secondary-color);
    color: #fff;
}

.sidebar-dropdown .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-submenu {
    display: none;
    flex-direction: column;
    margin-left: var(--space-m);
    margin-top: 0.3rem;
}

.sidebar-submenu li a {
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius-s);
    font-size: 0.9rem;
    color: var(--dark-color);
}

.sidebar-submenu li a:hover {
    background: var(--light-pink-color);
    color: var(--primary-color);
}

.sidebar-dropdown.open .sidebar-submenu {
    display: flex;
}

.sidebar-dropdown.open .arrow {
    transform: rotate(90deg);
}



/* Hero Section */
.hero {
    background-image: url('https://raw.githubusercontent.com/ethn-boyi/fiesta-site/main/images/hambug.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    max-width: 700px;
    padding: 0 var(--space-l);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-m);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: var(--font-size-m);
    line-height: 1.7;
    font-weight: var(--font-weight-light);
}

/* Story Section */
.story {
    padding: var(--space-xl) var(--space-l);
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.story h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--space-l);
}

.story p {
    font-size: var(--font-size-m);
    line-height: 1.8;
    margin-bottom: var(--space-m);
}

.objectives {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-l);
    align-items: center;
}

.investment {
    max-width: 280px;
    height: auto;
    border-radius: var(--border-radius-m);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .objectives {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .investment {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Why Choose Us Container */
.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-l);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-xl);
    color: var(--secondary-color);
    margin-bottom: var(--space-l);
    text-align: center;
}

.card {
    display: flex;
    align-items: center;
    gap: var(--space-l);
    background: white;
    padding: var(--space-l);
    margin: var(--space-l) 0;
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 180px;
    height: 180px;
    border-radius: var(--border-radius-m);
    object-fit: cover;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-l);
    color: var(--primary-color);
    margin-bottom: var(--space-s);
}

.card-content p {
    font-size: var(--font-size-n);
    line-height: 1.7;
    color: #666;
}

.card:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .card,
    .card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .card img {
        width: 150px;
        height: 150px;
    }
}

/* Testimonials */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
    padding: var(--space-xl) var(--space-l);
    max-width: var(--site-max-width);
    margin: 0 auto;
}

h5 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--space-l);
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-md);
    padding: var(--space-l);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
    margin: 0 auto var(--space-s);
    border: 3px solid var(--light-pink-color);
}

.quote {
    font-size: var(--font-size-l);
    color: var(--secondary-color);
    margin-bottom: var(--space-s);
}

.stars {
    color: #ffd700;
    font-size: var(--font-size-m);
    margin: var(--space-s) 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #00093c, #2d0b00);
    color: white;
    padding: var(--space-xl) var(--space-l);
    font-size: var(--font-size-s);
    line-height: 1.6;
}

.row {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-l);
}

.col {
    padding: var(--space-s);
}

.col h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-m);
    margin-bottom: var(--space-m);
    color: white;
}

.email-id {
    border-bottom: 1px solid var(--medium-grey-color);
    margin: var(--space-m) 0;
    padding-bottom: var(--space-xs);
}

ul li {
    margin-bottom: var(--space-s);
}

ul li a {
    color: var(--medium-grey-color);
    transition: color 0.3s ease;
}

ul li a:hover {
    color: white;
}

.social-icons .fab {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-circle);
    text-align: center;
    line-height: 44px;
    font-size: var(--font-size-m);
    color: var(--dark-color);
    background: white;
    margin-right: var(--space-s);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icons .fab:hover {
    transform: translateY(-2px);
}

.footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: var(--space-l) 0;
}

.terms {
    text-align: center;
    margin-top: var(--space-l);
    font-size: var(--font-size-s);
    color: var(--medium-grey-color);
}