/* --- BRAND DNA --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&family=Playfair+Display:ital,wght@1,400&family=Syne:wght@400;700;800&display=swap');

:root {
    --bg-body: #F5F5F7;
    --bg-card: #FFFFFF;
    --primary: #121212;          
    --secondary: #2A6F97;        
    --accent: #D4AF37;           
    --border: #E5E5E5;
    
    --font-head: 'Syne', sans-serif;         
    --font-body: 'Manrope', sans-serif;      
    --font-serif: 'Playfair Display', serif; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- NAV (Dark Mode for contrast) --- */
nav {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 24px;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -1px;
}

.back-link {
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.back-link:hover {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

/* --- HERO HEADER --- */
.case-header {
    text-align: center;
    padding: 150px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.case-cat {
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
}

.case-title {
    font-family: var(--font-head);
    font-size: 64px;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

/* --- HERO IMAGE (Full Width) --- */
.hero-image-wrapper {
    width: 100%;
    height: 85vh; /* Cinematic Height */
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Parallax effect starts here */
    transform: scale(1.05); 
}

/* --- PROJECT SPECS (Grid) --- */
.specs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 3fr; /* 1/4 Left, 3/4 Right */
    gap: 60px;
    border-bottom: 1px solid var(--border);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.spec-item label {
    display: block;
    font-family: var(--font-head);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.spec-item span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.case-narrative {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.case-narrative p { margin-top: 0; margin-bottom: 30px; }
.case-narrative strong { color: var(--primary); }

/* --- GALLERY GRID --- */
.detail-gallery {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: grid;
    gap: 40px;
}

.full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-figure {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    padding: 20px;
    padding-top: 40px;
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.5px;
    pointer-events: none;
    box-sizing: border-box;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- NEXT PROJECT NAV --- */
.next-project-nav {
    background: #111;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.next-label {
    font-family: var(--font-head);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 20px;
    display: block;
}

.next-link {
    font-family: var(--font-head);
    font-size: 48px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.next-link:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
    .specs-container { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
    .case-header { padding: 100px 20px 40px; }
    .case-title { font-size: clamp(32px, 10vw, 42px) !important; }
    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .hero-image-wrapper { height: 50vh; }
    .detail-gallery { margin: 60px auto; gap: 20px; }
    .next-project-nav { padding: 60px 20px; }
    .next-link { font-size: clamp(28px, 8vw, 36px) !important; }
}
/* --- LUXURY INTERACTIVE CURSOR --- */
body { cursor: none; } /* Hide the default cursor */

.cursor-dot, 
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* Hover State for Interactive Elements */
.cursor-active .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor-active .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid #fff;
}

/* Hide cursor on mobile - luxury touch */
@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none; }
    body { cursor: auto; }
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 6000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(10, 10, 11, 0.95); 
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    width: 90vw;
    height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation: zoomIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-caption {
    margin-top: 15px;
    color: #ccc;
    font-family: var(--font-body);
    font-size: 14px;
    font-style: italic;
    text-align: center;
    max-width: 90vw;
    animation: zoomIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 6001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Make images indicate they are clickable */
.hero-img, .full-img {
    cursor: zoom-in;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
    z-index: 6002;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--accent);
    color: #000;
}