/* 
   ĐÁ MỸ NGHỆ CAO TRANG - DESIGN SYSTEM
   Theme: Premium Dark / Spiritual Craftsmanship
*/

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

:root {
    /* Colors */
    --primary-green: #063D30; /* Emerald Green from tuongphatda.vn */
    --primary-green-light: #0A5A48;
    --accent-gold: #c49a44; /* Premium Gold from tuongphatda.vn logo */
    --accent-gold-light: #d0b768;
    
    --bg-dark-1: #0A0F0D; /* Main Background */
    --bg-dark-2: #121A17; /* Card/Section Background */
    --bg-dark-3: #1B2622;
    
    --text-white: #F5F5F5;
    --text-muted: #A0A0A0;
    --text-gold: #c49a44;
    
    --border-dim: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(196, 154, 68, 0.3);

    /* Transitions & Spacing */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --section-padding: 100px 20px;
    --radius-sm: 4px;
    --radius-md: 12px;
}

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

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

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Anti-theft properties */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

.section {
    padding: var(--section-padding);
}

.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-dim);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(6, 61, 48, 0.98); /* Emerald Green Glass */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-dim);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

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

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark-2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1001;
    }

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

    .mobile-nav-toggle {
        display: block;
        z-index: 1002;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 15, 13, 0.9) 30%, rgba(10, 15, 13, 0.4));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Category Cards Hover */
.category-card:hover img {
    transform: scale(1.1);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.2); /* Deep Green tint */
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.category-card:hover::after {
    opacity: 1;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    color: white;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.phone { background: #2ecc71; }
.float-btn.zalo { background: #0068ff; }
.float-btn.scroll-top { 
    background: var(--bg-dark-3); 
    border: 1px solid var(--border-dim);
    opacity: 0;
    visibility: hidden;
}

.float-btn.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
}

/* Premium Product Card Styles */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

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

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold) !important;
    box-shadow: 0 10px 30px rgba(196, 154, 68, 0.3);
}

/* ==========================================================================
   PREMIUM UX/UI UPGRADES
   ========================================================================== */

/* 1. Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lightbox-modal.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px; right: 30px;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.lightbox-close:hover {
    color: var(--accent-gold);
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10000;
}
.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* Responsive navigation buttons */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.5);
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
}

/* 2. Trust Badges */
.trust-badges {
    background: var(--bg-dark-2);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
}
.trust-badge-item {
    display: inline-block;
    color: var(--text-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 15px;
    letter-spacing: 0.05em;
}

/* 3. Reveal Glow Effect */
@keyframes emeraldGlow {
    0% { box-shadow: 0 0 0 rgba(6, 61, 48, 0); }
    50% { box-shadow: 0 0 40px rgba(6, 61, 48, 0.6); }
    100% { box-shadow: 0 0 0 rgba(6, 61, 48, 0); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.reveal.active.product-card {
    animation: emeraldGlow 1.5s ease-out;
}

/* 4. Smart Filter Container */
.smart-filter-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}
.smart-filter-btn {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    padding: 6px 15px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}
.smart-filter-btn.active, .smart-filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--text-gold);
}

/* ==========================================================================
   BLOG UPGRADES
   ========================================================================== */

/* Blog Tabs */
.blog-filter-container {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 50px;
}

/* Article Card Hover */
.article-card {
    transition: var(--transition-smooth);
}
.article-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold) !important;
    box-shadow: 0 10px 30px rgba(196, 154, 68, 0.3);
}
.article-card:hover img {
    transform: scale(1.05);
}
.article-card:hover h3 a {
    color: var(--accent-gold);
}
.article-card h3 a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Featured Post Layout */
.featured-post {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .featured-post {
        flex-direction: row;
        align-items: center;
    }
    .featured-post > div:first-child {
        flex: 1.5;
        height: 100% !important;
        min-height: 350px;
    }
    .featured-post > div:last-child {
        flex: 1;
        padding: 50px !important;
    }
    .featured-post h3 {
        font-size: 2rem !important;
    }
}

/* ==========================================================================
   PROJECTS (PORTFOLIO) UPGRADES
   ========================================================================== */

/* Project Card */
.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dim);
    transition: var(--transition-smooth);
}
.project-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(196, 154, 68, 0.3);
}

/* Overlay & Content */
.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 13, 0.95) 0%, rgba(10, 15, 13, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
    pointer-events: none; /* Let clicks pass through to img for lightbox */
}
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(10, 15, 13, 0.98) 0%, rgba(6, 61, 48, 0.7) 100%);
}

.project-zoom-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    color: var(--accent-gold);
    font-size: 3rem;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 2;
}
.project-card:hover .project-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   HOMEPAGE UPGRADES
   ========================================================================== */

/* Category Card Hover */
.category-card {
    transition: var(--transition-smooth);
    border: 1px solid var(--border-dim);
}
.category-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(196, 154, 68, 0.3);
    transform: translateY(-5px);
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-card:hover h3 {
    color: var(--accent-gold);
}
.category-card h3 {
    transition: color 0.3s ease;
}

/* Counter Section */
.counter-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-dark-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dim);
    transition: var(--transition-smooth);
}
.counter-box:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}
.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}
.counter-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Section Adjustments */
.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   YOUTUBE VIDEO SECTION
   ========================================================================== */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
    margin-top: 40px;
}
.youtube-card {
    background: var(--bg-dark-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dim);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.youtube-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(196, 154, 68, 0.3);
}
.youtube-thumb {
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
    background: #000;
}
.youtube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.youtube-card:hover .youtube-thumb img {
    transform: scale(1.05);
}
.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.youtube-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.youtube-card:hover .youtube-play-btn {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}
.youtube-card-title {
    padding: 15px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.btn-outline-gold {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: #000;
}

/* ==========================================================================
   IMAGE PROTECTION
   ========================================================================== */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ==========================================================================
   MOBILE RESPONSIVE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Reduce section padding */
    .section {
        padding: 60px 20px;
    }

    /* Headings */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }

    /* Hero */
    .hero { height: 90vh; }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px !important;
    }
    .hero-actions .btn {
        margin-left: 0 !important;
        text-align: center;
    }

    /* Counter / Stats */
    .stats-section .container > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .counter-number {
        font-size: 2.2rem;
    }
    .counter-label {
        font-size: 0.8rem;
    }
    .counter-box {
        padding: 20px 15px;
    }

    /* Category Cards */
    .category-card {
        height: 250px !important;
    }

    /* Product Cards Grid */
    .product-card:hover {
        transform: none;
    }

    /* Project Cards */
    .project-card img {
        height: 280px;
    }

    /* Footer */
    footer .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    footer {
        padding: 50px 0 30px !important;
    }

    /* Commitment section */
    .section[style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }

    /* Blog cards on homepage */
    .article-card h3 {
        font-size: 1rem !important;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* Page headers */
    header[style*="padding: 180px"] {
        padding: 140px 0 50px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem !important;
    }
    .stats-section .container > div {
        grid-template-columns: 1fr 1fr !important;
    }
    .counter-number {
        font-size: 1.8rem;
    }
    .nav-actions .btn-gold {
        display: none;
    }
}

/* ==========================================
   UPGRADES: 3D TILT & CARD SLIDERS 
   ========================================== */

/* 3D Tilt Effect Base for Rows */
.project-row {
    background: var(--bg-dark-2);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* Glare effect inside row */
.project-row::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
    border-radius: 12px;
}
.project-row:hover::after {
    opacity: 1;
}

/* Row Header and Title Area */
.project-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.project-row-title-area {
    flex: 1;
    min-width: 280px;
}

.project-row-province {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    display: block;
}

.project-row-title {
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.project-row-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s;
}

.project-row-title a:hover {
    color: var(--accent-gold);
}

.project-row-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.project-row-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, color 0.2s;
    align-self: flex-start;
    margin-top: 5px;
}

.project-row-link:hover {
    transform: translateX(5px);
    color: #fff;
}

/* Row Images grid */
.project-row-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
    border: 1px solid var(--border-dim);
}

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

.project-img-wrapper:hover img {
    transform: scale(1.05);
}

.project-img-wrapper .project-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.project-img-wrapper:hover .project-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Mini Slider Controls (for slot-slider) */
.card-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-img-wrapper:hover .card-slider-controls {
    opacity: 1;
}

.card-slider-prev, .card-slider-next {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.card-slider-prev:hover, .card-slider-next:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: scale(1.1);
}

/* Dots */
.card-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.card-dot.active {
    background: var(--accent-gold);
    width: 16px;
    border-radius: 4px;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .project-row {
        padding: 15px;
    }
    .project-row-images {
        grid-template-columns: 1fr; /* Stack images vertically on small mobile */
        gap: 10px;
    }
    .project-row-title {
        font-size: 1.2rem;
    }
}

/* Mobile Nav Overlay Backdrop */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 15, 13, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

