@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================
   CSS Reset & Variables
   ========================================== */
:root {
    --primary: #0f172a;       /* Dark Slate/Charcoal */
    --accent: #ea580c;        /* Terracotta Orange */
    --accent-hover: #c2410c;
    --accent-light: #ffedd5;  /* Soft Warm Peach */
    --bg-light: #fafaf9;      /* Warm Light Stone */
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.08);
    
    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-muted);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    font-weight: 700;
}

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

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Utility & Decorative Elements
   ========================================== */
.section-padding {
    padding: 100px 0;
}

.section-title-wrap {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* Background Glowing Blob decoration */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.glow-orange {
    background-color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 1.5px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-serif);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

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

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

.nav-socials {
    display: flex;
    gap: 16px;
}

.nav-socials a {
    color: var(--text-dark);
}

.nav-socials a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
}

/* ==========================================
   Hero Slideshow Section
   ========================================== */
.hero-slider-section {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary);
}

.slide-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--bg-white);
    padding: 0 24px;
}

.hero-title {
    font-size: 64px;
    color: var(--bg-white);
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 16px;
    color: var(--bg-light);
    max-width: 550px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Slider Controls */
.slider-arrows {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 20px;
    z-index: 20;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
}

.slider-dots {
    position: absolute;
    bottom: 52px;
    left: calc(50% + 70px);
    display: flex;
    gap: 8px;
    z-index: 20;
    transform: translateX(-50%);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--accent);
    transform: scale(1.3);
}

/* ==========================================
   Trust Statistics Bar
   ========================================== */
.stats-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 0;
    text-align: center;
}

.stat-item {
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: var(--font-serif);
}

.stat-num span {
    color: var(--accent);
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================
   Recent Work Section
   ========================================== */
.recent-work-section {
    position: relative;
}

.work-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.work-title-left {
    max-width: 500px;
}

.work-title-left h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
}

.work-title-left p {
    color: var(--text-light);
    font-size: 14px;
}

.work-viewall {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.work-viewall:hover {
    color: var(--accent-hover);
}

/* Category Tab Filter */
.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* Staggered / Asymmetric Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

/* Asymmetrical visual offset (de-AI-fication) */
.gallery-grid .gallery-card:nth-child(even) {
    transform: translateY(20px);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.gallery-grid .gallery-card:nth-child(even):hover {
    transform: translateY(12px);
}

.card-img-wrap {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

/* Card Hover overlay details */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
    transition: var(--transition-fast);
}

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

.card-title {
    color: var(--bg-white);
    font-size: 18px;
    font-family: var(--font-serif);
    margin-bottom: 4px;
}

.card-category {
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================
   Quote Section
   ========================================== */
.quote-section {
    background-color: var(--primary);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.quote-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 24px auto;
    font-style: italic;
    color: var(--bg-light);
}

.quote-author {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

/* ==========================================
   My Services Grid Section
   ========================================== */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-learnmore {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-learnmore:hover {
    color: var(--accent-hover);
}

/* ==========================================
   Footer Section
   ========================================== */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding-top: 80px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--accent);
}

.footer-about .logo {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--bg-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
}

.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ==========================================
   Lightbox Gallery Overlay
   ========================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 42px;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid .gallery-card:nth-child(even) {
        transform: none; /* Reset asymmetry offset to prevent misalignment */
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-col:last-child {
        grid-column: 1 / 4;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    .nav-links {
        display: none; /* JS will toggle responsive menu */
    }
    .nav-socials {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-slider-section {
        height: calc(100vh - 70px);
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-desc {
        font-size: 14px;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-item {
        border-right: none;
    }
    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    
    .work-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .gallery-filter-tabs {
        flex-wrap: wrap;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-col:last-child {
        grid-column: span 1;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}
