@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors (Extracted from Logo) */
    --primary: #8B2323; /* Maroon */
    --primary-light: #F5E8E8;
    --primary-dark: #6B1B1B;
    
    /* Secondary Colors - Gold/Orange */
    --secondary: #CC8833;
    --secondary-light: #FDF4E8;
    --secondary-dark: #A66E29;
    
    /* Neutral Colors */
    --bg-main: #ffffff;
    --bg-alt: #fcf8f8;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #eeeeee;
    --white: #ffffff;
    
    /* Functional Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Design Tokens */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.flex-column { flex-direction: column; }
.flex-center { justify-content: center; align-items: center; }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.py-xl { padding: var(--space-xl) 0; }
.pt-md { padding-top: var(--space-md); }

.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.bg-alt { background-color: var(--bg-alt); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.color-white { color: var(--white); }
.color-primary { color: var(--primary); }
.color-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
    gap: var(--space-sm);
}

.btn-primary { background-color: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: var(--secondary); color: var(--white); }
.btn-secondary:hover { background-color: var(--secondary-dark); transform: translateY(-2px); }
.btn-light { background-color: var(--white); color: var(--primary); }
.btn-light:hover { background-color: var(--bg-alt); transform: translateY(-2px); }
.btn-success { background-color: var(--success); color: var(--white); }

/* Components */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: var(--space-xl); }

/* Navbar */
.site-header {
    background: var(--white);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.sticky { padding: var(--space-sm) 0; box-shadow: var(--shadow-md); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; }

.main-nav ul { display: flex; gap: var(--space-lg); list-style: none; }
.main-nav ul li { position: relative; }
.main-nav ul li a { font-weight: 500; color: var(--text-main); font-family: 'Outfit', sans-serif; display: flex; align-items: center; gap: 5px; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--primary); }
.dropdown-menu li a.active { background: var(--bg-alt); }

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    display: none;
    flex-direction: column;
    z-index: 1001;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    width: 100%;
    font-size: 0.9rem;
    display: block;
    line-height: 1.2;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.has-dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding-left: var(--space-md);
        display: hidden;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: none;
        transition: var(--transition);
        background: var(--bg-alt);
        border-radius: var(--radius-sm);
    }
    .has-dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        opacity: 1;
        padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
        margin-top: var(--space-sm);
    }
    .has-dropdown > a i {
        transition: transform 0.3s ease;
    }
    .has-dropdown.active > a i {
        transform: rotate(180deg);
    }
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.menu-toggle span { width: 25px; height: 3px; background: var(--primary); border-radius: 3px; transition: var(--transition); transform-origin: left; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-image img { 
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 35, 35, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content { max-width: 600px; position: relative; z-index: 1; }
.hero h1 { font-size: 3.5rem; color: var(--primary-dark); margin-bottom: var(--space-md); }

/* Premium Gradients for Buttons */
.btn-primary { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); 
    box-shadow: 0 4px 15px rgba(139, 35, 35, 0.2);
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(139, 35, 35, 0.3);
}

.btn-secondary { 
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(204, 136, 51, 0.2);
}
.btn-secondary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 136, 51, 0.3);
}

/* Glassmorphism for Cards */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(238, 238, 238, 0.5);
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

/* Sticky CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: var(--space-sm) var(--space-md);
    z-index: 2000;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Footer */
.site-footer { background: var(--primary-dark); color: var(--white); padding: var(--space-xl) 0 var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-xl); }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: var(--space-md); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; opacity: 0.8; }
.footer-links ul li a:hover { color: var(--secondary); opacity: 1; }
.social-icons { display: flex; gap: var(--space-md); }
.social-icons a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center; color: var(--white);
}
.social-icons a:hover { background: var(--secondary); }

/* Responsive Overrides */
@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
    .d-none-mobile { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .hero { padding: 60px 0; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--white); padding: var(--space-lg) var(--space-md); box-shadow: var(--shadow-md);
        max-height: 80vh; overflow-y: auto;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li { width: 100%; border-bottom: 1px solid var(--border); }
    .main-nav ul li:last-child { border-bottom: none; }
    .main-nav ul li a { padding: 15px 0; width: 100%; justify-content: space-between; }
    .menu-toggle { display: flex; }
    .sticky-cta { display: grid; }
    body { padding-bottom: 70px; }
    .footer-grid { text-align: center; }
    .social-icons { justify-content: center; }
}

/* About Slider */
.about-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-slider .slide:nth-child(1) { animation: slideShow 15s infinite; }
.about-slider .slide:nth-child(2) { animation: slideShow 15s infinite 5s; }
.about-slider .slide:nth-child(3) { animation: slideShow 15s infinite 10s; }

.about-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .about-slider { height: 300px; }
}
