:root {
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --accent-color: #c9a86c;
    /* Updated to match v0ornek */
    --accent-light: #e8d4a8;
    --secondary-bg: #111111;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --brush-stroke-1: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 50" xmlns="http://www.w3.org/2000/svg"><path d="M5,25 Q50,5 95,25 T195,25" fill="none" stroke="%23d4af37" stroke-width="10" stroke-linecap="round" /></svg>');
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    --spacing-lg: clamp(60px, 8vw, 100px);
    --container-width: min(1400px, 90vw);
}

/* Cinematic Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    /* Reduced grain opacity */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    /* Subtle Ambient Glow */
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #0a0a0a 60%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5vw, 30px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -1;
    transition: width 0.4s ease;
    transform: skewX(-20deg);
    transform-origin: left;
}

.btn:hover {
    color: var(--bg-color);
}

.btn:hover::before {
    width: 150%;
}

/* Brush Stroke Effects */
.brush-text {
    position: relative;
    display: inline-block;
}

.brush-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-color);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 Q50,20 100,10' stroke='black' stroke-width='15' fill='none'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 Q50,20 100,10' stroke='black' stroke-width='15' fill='none'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
    opacity: 0.7;
    z-index: -1;
}

/* Header */
/* Header */
header {
    position: fixed;
    top: clamp(10px, 2vh, 20px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(90%, 95vw, 1200px);
    max-width: 1200px;
    padding: clamp(10px, 2vh, 15px) clamp(15px, 3vw, 30px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;

    /* Glassmorphism Base */
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    top: 10px;
    width: 95%;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    /* Higher than nav-links */
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Section - Full Screen Video */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
    background: #000;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
    letter-spacing: -0.02em;
    font-weight: 600;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    display: block;
    font-weight: 300;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Hero Social Links */
.hero-social {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
}

.hero-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.hero-social a:hover {
    color: var(--accent-color);
}

.hero-social::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 4;
}

.scroll-indicator span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Hero Video Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-foreground,
.video-foreground iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for readability */
    z-index: 2;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Remove old grid styles */
.hero-visual,
.hero-video-container,
.video-wrapper {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .hero-social,
    .scroll-indicator {
        display: none;
    }
}

/* Abstract artistic background shapes */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}





/* Sections */
.section-padding {
    padding: clamp(60px, 10vh, 100px) 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 10;
}

/* Intro */
.intro-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 30px auto 0;
    color: #ccc;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    height: 350px;
    /* Increased height for better proportions */
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.work-thumb {
    width: 100%;
    height: 100%;
    background-color: #222;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.work-item:hover .work-thumb {
    transform: scale(1.1);
}

.work-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    background: transparent;
    border: none;
    padding: 0;
    pointer-events: none;
    /* Let clicks pass through gaps */
    z-index: 2;
}

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    /* Responsive wrapping */
}

.info-item {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    /* Rounded pills */
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.work-item:hover .info-item {
    background: rgba(20, 20, 20, 0.95);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.info-item.title {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 65%;
    /* Prevent title from taking full width */
}

.info-item.title span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-item.title svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-item.category {
    color: #aaa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.9);
    /* Slightly darker for category */
}

.info-item.category svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .work-info {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .info-bar {
        gap: 5px;
    }

    .info-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .info-item.title {
        max-width: 100%;
        /* Full width on very small screens if needed */
        flex: 1;
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-watermark {
        font-size: 4rem;
        letter-spacing: 5px;
    }

    .section-title-wrapper {
        margin-bottom: 60px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background-color: #222;
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    transition: background 0.5s ease;
}

.service-item:hover .service-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.service-content-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    transform: translateY(0);
}

.service-item:hover .service-content-box {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-content-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-content-box p {
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Detailed Footer Styles */
.site-footer {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #fff;
}

.footer-desc {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
    color: #888;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    background: none;
    border: none;
    padding: 10px 0;
    color: #fff;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* Global Polish */
::selection {
    background: var(--accent-color);
    color: #000;
}

/* Button Polish */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* iOS Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    /* iOS Safari fixes - avoid transform for positioning */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-modal.active .video-modal-content {
    animation: modalZoomIn 0.3s ease forwards;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        -webkit-transform: translateZ(0) scale(0.9);
        transform: translateZ(0) scale(0.9);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0) scale(1);
        transform: translateZ(0) scale(1);
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    /* iOS Safari fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* iOS Safari specific */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
    /* iOS tap target size */
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* iOS Safari Mobile Video Modal Fix */
@supports (-webkit-touch-callout: none) {
    .video-modal {
        /* iOS specific positioning */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        height: -webkit-fill-available !important;
    }

    .video-modal-content {
        /* Prevent iOS transform issues */
        position: relative !important;
        margin: auto !important;
        max-height: 80vh !important;
    }
}

/* Mobile Video Modal Adjustments */
@media (max-width: 768px) {
    .video-modal {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }

    .video-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .close-modal {
        top: -45px;
        right: 5px;
        font-size: 32px;
    }

    .video-container {
        border-radius: 8px;
        overflow: hidden;
    }
}

/* Play Button Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to parent */
}

.play-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #000;
    margin-left: 4px;
    /* Optical center */
}

.work-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- ENHANCED THEME ELEMENTS --- */

/* 1. Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* 2. Enhanced Section Titles with Watermark */
.section-title-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
    min-height: 120px;
}

.section-title {
    position: relative;
    z-index: 10;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin: 0;
    padding: 0 20px;
    /* Strong text shadow for depth */
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(201, 168, 108, 0.4);
    /* Ensure no gradient override */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    animation: none !important;
}

/* Background watermark - subtle, behind main title */
.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    /* Subtle outline style */
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 168, 108, 0.12);
    opacity: 0.5;
}

/* 3. Decorative Elements */
.decorative-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 20px auto 0;
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.corner-accent {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-color);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.work-item:hover .corner-accent {
    width: 100%;
    height: 100%;
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.3);
}

.corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* 4. Enhanced Card Hover Effects */
.work-item {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.work-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-thumb::after {
    opacity: 1;
}

/* 5. Floating Shapes Background */
.floating-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

/* 6. Text Selection Color */
::selection {
    background: var(--accent-color);
    color: #000;
}

/* 7. Button Glow */
.btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* --- MOBILE RESPONSIVENESS - COMPLETE OVERHAUL --- */
@media (max-width: 992px) {

    /* === CRITICAL: Prevent ALL horizontal overflow === */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    * {
        max-width: 100vw;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }

    section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* === HEADER - Ultra Premium Glassmorphic Mobile Design === */
    header {
        padding: 15px 0 !important;
        width: calc(100% - 20px) !important;
        /* Slight margin from edges */
        max-width: calc(100% - 20px) !important;
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
        transform: none !important;
        border-radius: 16px !important;
        /* Rounded corners like desktop */
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        /* Subtle border */
        background: rgba(10, 10, 10, 0.7) !important;
        /* More transparent for glass effect */
        backdrop-filter: blur(25px) saturate(180%) !important;
        /* Strong glassmorphism */
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
        /* Depth + inner glow */
        margin: 0 auto;
    }

    header.scrolled {
        background: rgba(10, 10, 10, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
    }

    header nav {
        width: 100%;
    }

    /* Logo - Beautiful & Responsive */
    .logo {
        font-size: 1.15rem !important;
        letter-spacing: 2.5px !important;
        font-weight: 600;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: 65vw;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Hamburger Menu - Clean & Functional */
    .menu-toggle {
        display: flex !important;
        transform: none;
        gap: 5px;
        position: relative;
        z-index: 10000;
        /* Above everything */
    }

    .menu-toggle span {
        background: #fff;
        box-shadow: none;
    }

    /* Hide Desktop Nav */
    .nav-links {
        display: none !important;
        gap: 0 !important;
    }

    /* Mobile Menu Overlay - Clean & Simple */
    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;

        /* Solid Dark Background */
        background: #0a0a0a !important;

        /* Layout */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999 !important;
        padding: 100px 40px 40px;
        margin: 0 !important;
        gap: 0 !important;

        /* Override any parent constraints */
        transform: none !important;
        overflow-y: auto;
    }

    .nav-links.active li {
        margin: 0;
        padding: 0;
        opacity: 0;
        transform: translateY(20px);
        animation: menuFadeIn 0.4s ease forwards;
        width: 100%;
        max-width: 400px;
    }

    @keyframes menuFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-links.active a {
        font-size: 2rem;
        font-weight: 300;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 3px;
        padding: 20px 30px;
        margin: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        text-align: left;
    }

    .nav-links.active a:hover {
        color: var(--accent-color);
        padding-left: 40px;
        border-bottom-color: var(--accent-color);
        background: rgba(255, 255, 255, 0.02);
    }

    .nav-links.active li:last-child a {
        border-bottom: none;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--accent-color);
    }

    /* === HERO SECTION === */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
    }

    .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 3rem) !important;
        margin-bottom: 15px;
        line-height: 1.1;
        word-wrap: break-word;
        max-width: 100%;
    }

    .hero-content .subtitle {
        font-size: clamp(0.75rem, 4vw, 1rem);
        margin-bottom: 25px;
        letter-spacing: 0.15em;
        max-width: 100%;
    }

    .hero-content .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .hero-social,
    .scroll-indicator {
        display: none;
    }

    /* === SECTION SPACING === */
    .section-padding {
        padding: 60px 0;
    }

    /* === SECTION TITLES - Beautiful & Contained === */
    .section-title-wrapper {
        margin-bottom: 40px;
        padding-top: 10px;
        max-width: 100%;
        overflow: hidden;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        letter-spacing: 0.05em;
        max-width: 100%;
        word-wrap: break-word;
    }

    .section-watermark {
        font-size: clamp(3rem, 15vw, 5rem) !important;
        letter-spacing: clamp(2px, 1vw, 10px) !important;
        opacity: 0.4;
        word-wrap: break-word;
        max-width: 200%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* === INTRO TEXT === */
    .intro-text p {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 100%;
    }

    /* === WORK GRID === */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-item {
        max-width: 100%;
    }

    /* === SERVICES GRID === */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .service-item {
        height: 350px;
        max-width: 100%;
    }

    .service-content-box h3 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }

    .service-content-box p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* === FLOATING SHAPES - Adjust for Mobile === */
    .floating-shape {
        display: none;
        /* Hide to prevent overflow */
    }

    /* === DECORATIVE LINE === */
    .decorative-line {
        width: 100px;
        max-width: 80%;
    }

    /* === FOOTER === */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer {
        padding: 60px 0 20px;
    }
}

/* ============================================= */
/*     ✨ MINIMAL ELEGANCE ENHANCEMENTS ✨      */
/* ============================================= */

/* 1. Golden Glow on Interactive Elements */
.btn:hover,
.work-item:hover,
.service-item:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 168, 108, 0.15);
}

/* 2. Subtle Golden Text Shimmer for Hero Title Only */
.hero-content h1 {
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f5f5f5 25%,
            var(--accent-color) 50%,
            #f5f5f5 75%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* 3. Refined Image Hover with Golden Border Reveal */
.work-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.5s ease;
    z-index: 3;
    pointer-events: none;
}

.work-item:hover::before {
    border-color: var(--accent-color);
}

/* 4. Smooth Image Brightness on Hover */
.work-thumb {
    filter: brightness(0.9);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.6s ease;
}

.work-item:hover .work-thumb {
    filter: brightness(1.05);
}

/* 5. Enhanced Service Cards with Golden Accent */
.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.5s ease;
}

.service-item:hover::after {
    width: 100%;
}

/* 6. Refined Button Hover States */
.btn {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px);
    letter-spacing: 3px;
}

/* 7. Golden Focus for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* 8. Subtle Link Underline Animation */
.footer-links a,
.nav-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 9. Play Overlay Pulse Animation */
.play-overlay {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(201, 168, 108, 0.2);
    }
}

/* 10. Smooth Scroll Reveal for Sections */
.portfolio-section,
#services,
.about-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSection 0.8s ease forwards;
}

@keyframes fadeInSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger section animations */
.portfolio-section:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-section:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* 11. Refined Preloader Exit */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* 12. Enhanced Scroll Indicator */
.scroll-indicator .line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        height: 40px;
        opacity: 0.6;
    }

    50% {
        height: 60px;
        opacity: 1;
    }
}