/* Global Variables & Premium Theme */
@import 'filters.css';
@import 'cards.css';
@import 'details.css';

:root {
    /* Premium Palette - Nature & Luxury */
    --primary-color: #1a422a;
    /* Deep Forest Green */
    --primary-light: #2c6e49;
    /* Lighter Fern Green */
    --primary-dark: #0f2b1d;
    /* Midnight Green */
    --secondary-color: #c5a059;
    /* Elegant Gold */
    --secondary-light: #e6c885;
    /* Soft Gold */
    --bg-body: #ffffff;
    --bg-offset: #f3f6f4;
    /* Very subtle misty green */
    --bg-card: #ffffff;
    --text-main: #1d1d1f;
    /* Soft Black */
    --text-muted: #b6b6b6;
    /* Apple Gray */
    --text-light: #a1a1a6;

    /* Modern Spacing & Depth */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 25px 50px -12px rgba(26, 66, 42, 0.15);
    --font-heading: 'Playfair Display', serif;
    /* Elegant Serif */
    --font-body: 'Lato', sans-serif;
    /* Clean Sans */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    font-size: 3.5rem;
}

h2 {
    font-weight: 600;
    font-size: 2.8rem;
}

h3 {
    font-weight: 600;
    font-size: 1.8rem;
}

h4 {
    font-weight: 500;
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(26, 66, 42, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 66, 42, 0.3);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 100px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-body) 10%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 43, 29, 0.4) 0%, rgba(26, 66, 42, 0.2) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 40px;
}

.hero-title {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge */
.glass-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-bottom: 25px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.separator {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.bg-offset {
    background-color: var(--bg-offset);
}

.bg-light {
    background-color: #fafbfb;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 40px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.project-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
}

.card-image {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .card-image img {
    transform: scale(1.08);
    /* Smoother zoom */
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 35px 30px;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.location {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-features span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.card-features i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Filter Bar */
.filter-bar {
    display: inline-flex;
    justify-content: center;
    background: white;
    padding: 5px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    gap: 5px;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 66, 42, 0.2);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.form-control,
.newsletter-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid #e0e0e0;
    background: #fafafa;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-main);
}

.form-control:focus,
.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* About & Milestones */
.vm-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--secondary-color);
}

.vm-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.milestone {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
    border-left: 2px solid rgba(197, 160, 89, 0.3);
}

.milestone:last-child {
    margin-bottom: 0;
}

.milestone::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 1px var(--secondary-color);
}

.milestone h4 {
    font-size: 1.8rem;
    /* Year */
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 66, 42, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Animations using classes */
.animate-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.delay-100 {
    animation-delay: 0.15s;
}

.delay-200 {
    animation-delay: 0.3s;
}

.delay-300 {
    animation-delay: 0.45s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer (Updated) */
.footer {
    background: var(--primary-dark);
    color: #cad6d1;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.footer h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cad6d1;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    content: '›';
    margin-right: 5px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

/* Feature icons in Advantage Section */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-offset);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

/* Newsletter in Footer */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-btn {
    padding: 0 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .nav-links,
    .btn-primary.sm-btn {
        display: none;
    }

    /* Hide regular links */
    .mobile-menu-btn {
        display: block;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero {
        background-attachment: scroll;
        /* Mobile perf */
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.contact-icon i {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}
