/* ========================================
   KSHETRA INTERIORS - PREMIUM INTERIOR DESIGN WEBSITE
   CSS Stylesheet
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (Variables)
   Color Palette: White, Beige, Light Brown, Dark Green
   ======================================== */
:root {
    /* Primary Colors */
    --color-primary: #2D4739;          /* Dark Green - Primary accent */
    --color-primary-light: #3D5C4A;    /* Lighter green */
    --color-primary-dark: #1E3028;     /* Darker green */
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-cream: #FAF8F5;            /* Off-white/Cream background */
    --color-beige: #F5EFE6;            /* Beige */
    --color-beige-dark: #E8DFD3;       /* Darker beige */
    --color-brown-light: #C4A77D;      /* Light brown */
    --color-brown: #8B7355;            /* Medium brown */
    --color-brown-dark: #6B5344;       /* Dark brown */
    
    /* Text Colors */
    --color-text-dark: #2C2C2C;        /* Primary text */
    --color-text-medium: #5C5C5C;      /* Secondary text */
    --color-text-light: #8C8C8C;       /* Muted text */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-brown-light) 0%, var(--color-brown) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header.left-aligned {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.left-aligned .section-description {
    margin: 0;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: var(--transition-normal);
    background: transparent;
}

/* Scrolled state - solid background */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    margin-right: 20px;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-img {
    height: 50px;
}

/* Legacy text logo support */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.logo-accent {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-brown-light);
    font-style: italic;
}

.navbar.scrolled .logo-text {
    color: var(--color-text-dark);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: var(--color-text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-brown-light);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-brown-light);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar.scrolled .bar {
    background: var(--color-text-dark);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Container */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-lg);
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--color-beige);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-dark);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot:hover,
.dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.mouse {
    display: block;
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 13px;
    margin: 0 auto var(--spacing-xs);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   OUR SERVICES SECTION
   ======================================== */
.services {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-cream);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-normal);
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 71, 57, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-icon {
    font-size: 4rem;
    filter: grayscale(100%) brightness(200%);
}

.card-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-md);
}

.card-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition-normal);
}

.service-card:hover .card-link {
    color: var(--color-brown);
}

/* ========================================
   INTERIOR SERVICES SECTION
   ======================================== */
.interior-services {
    padding: var(--spacing-2xl) 0;
    background: var(--color-beige);
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.interior-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.interior-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.interior-image {
    height: 220px;
    overflow: hidden;
}

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

.interior-item:hover .interior-image img {
    transform: scale(1.08);
}

.interior-info {
    padding: var(--spacing-md);
    text-align: center;
}

.interior-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.interior-info p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* View All Button */
.view-all-btn-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.view-all-btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.view-all-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   EXTERIOR SERVICES SECTION
   ======================================== */
.exterior-services {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #1a2f25 0%, #2D4739 50%, #1a2f25 100%);
    color: var(--color-white);
}

.exterior-services .section-tag {
    background: rgba(196, 167, 125, 0.2);
    color: var(--color-gold);
}

.exterior-services .section-title {
    color: var(--color-white);
}

.exterior-services .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.exterior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.exterior-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(196, 167, 125, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.exterior-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-gold);
}

.exterior-image {
    height: 220px;
    overflow: hidden;
}

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

.exterior-item:hover .exterior-image img {
    transform: scale(1.08);
}

.exterior-info {
    padding: var(--spacing-md);
    text-align: center;
}

.exterior-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.exterior-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.exterior-btn {
   color:#a88a5a ;
   transition: transform 1s ease-in ;
}

.exterior-btn:hover {
    transform: scale(.5px);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.review-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--color-primary);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
}

.reviewer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #FFB800;
    font-size: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.review-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ========================================
   REAL-TIME PROJECTS SECTION
   ======================================== */
.projects {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f8f6f3 0%, #efe9e1 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.project-card.featured {
    grid-row: span 2;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.project-card.featured .project-image {
    min-height: 100%;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Status Badge */
.project-status {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.project-status.ongoing {
    background: rgba(0, 200, 83, 0.9);
    color: white;
}

.project-status.completed {
    background: rgba(45, 71, 57, 0.9);
    color: white;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: statusPulse 1.5s ease-in-out infinite;
}

.project-status.completed .status-dot {
    animation: none;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    transform: translateY(60%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-details {
    color: white;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-gold);
    color: var(--color-text-dark);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.project-details h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.project-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.project-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.project-meta span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-meta strong {
    color: var(--color-gold);
}

/* Projects Stats */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Projects Responsive */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .project-card.featured {
        grid-row: span 1;
        grid-column: span 2;
    }
    
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   WHY CHOOSE US SECTION - Timeline Design
   ======================================== */
.why-us {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #0a1a14 0%, #0d2118 50%, #0a1a14 100%);
    color: var(--color-white);
    overflow: hidden;
}

.why-us .section-tag {
    color: #00d4aa;
}

.why-us .section-title {
    color: var(--color-white);
}

.why-us .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Center Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00d4aa 10%, #00d4aa 90%, transparent);
    top: 0;
}

/* Timeline Item */
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    animation: fadeInTimeline 0.8s ease forwards;
    width: 100%;
    gap: 0;
}

.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }
.timeline-item:nth-child(5) { animation-delay: 0.8s; }
.timeline-item:nth-child(6) { animation-delay: 1.0s; }

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left aligned items */
.timeline-item.left {
    flex-direction: row;
}

.timeline-item.left .timeline-card {
    margin-right: 40px;
    text-align: right;
    order: 1;
}

.timeline-item.left .timeline-icon {
    order: 2;
}

.timeline-item.left::after {
    content: '';
    width: 350px;
    margin-left: 40px;
    order: 3;
}

/* Right aligned items */
.timeline-item.right {
    flex-direction: row;
}

.timeline-item.right::before {
    content: '';
    width: 350px;
    margin-right: 40px;
    order: 1;
}

.timeline-item.right .timeline-icon {
    order: 2;
}

.timeline-item.right .timeline-card {
    margin-left: 40px;
    text-align: left;
    order: 3;
}

/* Timeline Card */
.timeline-card {
    width: 350px;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.1);
}

/* Timeline Number */
.timeline-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #00d4aa;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.timeline-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Timeline Icon */
.timeline-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    flex-shrink: 0;
    background: #0a1a14;
    border: 3px solid #00d4aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.timeline-icon::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 170, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    stroke: #00d4aa;
}

.timeline-item:hover .timeline-icon {
    background: #00d4aa;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.timeline-item:hover .timeline-icon svg {
    stroke: #0a1a14;
}

/* Responsive Timeline */
@media (max-width: 900px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        padding-left: 70px;
    }
    
    .timeline-item.left .timeline-card,
    .timeline-item.right .timeline-card {
        margin: 0;
        margin-left: 20px;
        text-align: left;
        width: 100%;
        max-width: 500px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
    }
    
    .timeline-item.left {
        flex-direction: row-reverse !important;
    }
    
    .timeline-item.left .timeline-icon {
        order: -1;
    }
}

@media (max-width: 600px) {
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-number {
        font-size: 2.5rem;
    }
    
    .timeline-card h3 {
        font-size: 1.2rem;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
    }
    
    .timeline-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
    
    .timeline-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team {
    padding: var(--spacing-2xl) 0;
    background: var(--color-beige);
}

/* Founder Highlight Section */
.founder-highlight {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.team-card.founder {
    max-width: 400px;
    position: relative;
    border: 3px solid var(--color-gold);
    box-shadow: 0 15px 40px rgba(196, 167, 125, 0.3);
}

.team-card.founder .team-image {
    height: 320px;
}

.team-card.founder .team-info h4 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.team-card.founder .team-role {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 600;
}

.founder-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-gold), #a88a5a);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196, 167, 125, 0.4);
    z-index: 10;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.team-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.team-image img.img-position-down {
    object-position: center 12%;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(45, 71, 57, 0.9), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.social-link {
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    transform: scale(1.2);
}

.team-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.team-info p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info {
    padding-right: var(--spacing-xl);
}

.info-items {
    margin-top: var(--spacing-xl);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.info-content p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    position: relative;
}

.contact-form {
    background: var(--color-cream);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--color-beige-dark);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-text-dark);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 71, 57, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

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

.error-message {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: var(--spacing-xs);
    min-height: 1.2rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.submit-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Popup Notification */
.popup-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 320px;
    max-width: 450px;
    padding: 20px 50px 20px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.popup-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.popup-notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.popup-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.popup-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.popup-content {
    flex: 1;
}

.popup-message {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Responsive popup */
@media (max-width: 480px) {
    .popup-notification {
        top: 15px;
        right: 15px;
        left: 15px;
        min-width: unset;
        max-width: unset;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

.success-message h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.success-message p {
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-lg);
}

.reset-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-normal);
}

.reset-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer {
    background: var(--color-text-dark);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-brown-light);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--color-brown-light);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-icon {
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p:last-child {
    margin-top: var(--spacing-xs);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-info {
        padding-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        position: fixed;
        right: 20px;
        top: 20px;
    }

    .nav-link {
        color: var(--color-text-dark);
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-content {
        padding: var(--spacing-md);
    }

    .carousel-dots {
        bottom: 80px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Sections */
    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .interior-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .hero,
    .back-to-top,
    .carousel-dots,
    .scroll-indicator {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-title {
        color: black;
    }
}
