:root {
    --bg-dark: #0f0f11;
    --bg-lighter: #1a1a1d;
    --bg-card: #222226;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a5;
    --accent-red: #c3002f;
    --accent-red-glow: rgba(195, 0, 47, 0.4);
    --accent-silver: #e8e8e8;
    --gradient-red: linear-gradient(135deg, #c3002f 0%, #8a0021 100%);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

.text-accent {
    color: var(--accent-red);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 0, 47, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-red);
}

.btn-outline:hover {
    background: var(--accent-red);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.logo-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.logo-brands {
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand-logo {
    height: 20px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.logo:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.logo:hover .brand-logo {
    opacity: 1;
    transform: scale(1.1);
}

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition);
}

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

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-red);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('Ekran%20Resmi%202026-04-29%2021.11.49.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.6) 100%);
    z-index: 1;
}

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

.hero-content h3 {
    color: var(--accent-red);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Brands Bar */
.brands-bar {
    background: var(--bg-lighter);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brands-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.brand {
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brand:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.nissan-font {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #c3002f;
}

.infiniti-font {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 8px;
    color: #d4d4d4;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
}

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

.section-title .subtitle {
    color: var(--accent-red);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

.section-title h2.logo-style-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: -1px;
    line-height: 1.2;
    font-weight: 900;
}

/* About Section */
.about {
    background-color: var(--bg-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.about-features i {
    color: var(--accent-red);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-card);
}

.image-wrapper img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s linear, filter 1s ease-in-out;
    transform: scale(1);
    filter: grayscale(30%) contrast(1.1) brightness(0.8);
}

.image-wrapper img.slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slow zoom effect while active */
    filter: grayscale(0%) contrast(1.1) brightness(1);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, rgba(195, 0, 47, 0.3) 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: radial-gradient(circle at 30% 30%, #e60036, #8a0021);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        -5px 15px 25px rgba(0,0,0,0.7), 
        inset 5px 5px 15px rgba(255,255,255,0.3),
        inset -5px -5px 20px rgba(0,0,0,0.6);
    border: 3px solid #1a1a1d;
    z-index: 5;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.6);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #f0f0f0;
}

/* Services */
.services {
    background-color: var(--bg-lighter);
}

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

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.02);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(195, 0, 47, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(195, 0, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1530046339160-ce3e530c7d2f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 17, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Team Section */
.team {
    background-color: var(--bg-lighter);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    perspective: 1000px;
}

.team-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    cursor: pointer;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: var(--accent-red);
    z-index: 10;
}

.team-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background-color: #0f0f11;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease-in-out;
    filter: grayscale(90%) contrast(1.15) brightness(0.9);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.05) brightness(1.05);
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-red);
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .icon {
    background: var(--accent-red);
    color: white;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    margin-top: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.info-item p a:hover {
    color: var(--accent-red);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    min-height: 350px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Footer */
footer {
    background-color: #080809;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

.social-links a.insta-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    transform: scale(1.1);
    margin-right: 5px;
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
}

.social-links a.insta-link:hover {
    transform: scale(1.2) translateY(-3px);
    box-shadow: 0 6px 15px rgba(220, 39, 67, 0.5);
}

.social-links a.fb-link {
    background: #1877F2;
    color: white;
    transform: scale(1.1);
    margin-right: 5px;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.social-links a.fb-link:hover {
    transform: scale(1.2) translateY(-3px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.5);
}

.social-links a.wa-link {
    background: #25D366;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.social-links a.wa-link:hover {
    transform: scale(1.2) translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

.footer-links h3, .footer-services h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-red);
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 15px;
}

.footer-links ul li a, .footer-services ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-bottom {
    background: #050505;
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(60px) rotateX(-20deg);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center bottom;
}

.fade-left {
    opacity: 0;
    transform: translateX(60px) rotateY(15deg);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: left center;
}

.fade-right {
    opacity: 0;
    transform: translateX(-60px) rotateY(-15deg);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: right center;
}

.in-view {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .about-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-badge {
        left: 20px;
        bottom: 20px;
        width: 120px;
        height: 120px;
        padding: 20px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        z-index: 1000;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

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

    .hamburger {
        display: block;
        z-index: 1001;
        font-size: 1.8rem;
    }
    
    .nav-btn {
        display: none; 
    }

    .logo {
        padding: 6px 12px;
        gap: 8px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .brand-logo {
        height: 16px;
    }

    .logo-divider {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title h2.logo-style-heading {
        font-size: 2.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about p {
        margin: 20px auto;
    }

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

    .footer-links h3::after, .footer-services h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .guarantee-badge-floating {
        bottom: 20px;
        left: 10px;
        transform: scale(0.5);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .brands-container {
        gap: 40px;
    }

    .nissan-font, .infiniti-font {
        font-size: 1.5rem;
    }

    .experience-badge {
        display: none; /* Hide badge on very small screens to avoid clutter */
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* Floating Guarantee Badge */
.guarantee-badge-floating {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Positioned on the left so it doesn't block WhatsApp/Scrollbars */
    z-index: 999;
    width: 140px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transform: scale(0.65);
    transform-origin: bottom left;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0% { transform: scale(0.65) translateY(0px); }
    50% { transform: scale(0.65) translateY(-15px); }
    100% { transform: scale(0.65) translateY(0px); }
}

.shield-svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

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

.modal-close:hover,
.modal-close:focus {
    color: var(--accent-red);
    text-decoration: none;
}

.badge-text-top {
    position: absolute;
    top: 25px;
    color: #1a1a1d;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.badge-text-bottom {
    position: absolute;
    bottom: 25px;
    color: #1a1a1d;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.badge-ribbon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 28px;
    z-index: 3;
}

.ribbon-content {
    background: linear-gradient(to bottom, #d90022, #a6001a);
    color: #fff;
    text-align: center;
    height: 28px;
    line-height: 28px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #ff4d6d;
    border-bottom: 1px solid #4a000b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
    position: relative;
    z-index: 4;
}

.ribbon-tail {
    position: absolute;
    top: 8px;
    z-index: 2;
    border: 14px solid #730012;
}

.ribbon-tail.left {
    left: -14px;
    border-left-color: transparent;
}

.ribbon-tail.right {
    right: -14px;
    border-right-color: transparent;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--bg-primary);
}

.gallery-covers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .gallery-covers {
        grid-template-columns: 1fr;
    }
}

.gallery-cover {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.gallery-cover:hover img {
    transform: scale(1.05);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-cover:hover .cover-overlay {
    opacity: 1;
    background: rgba(195, 0, 47, 0.7); /* accent red with opacity */
}

.cover-overlay h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.gallery-cover:hover .cover-overlay h3 {
    transform: translateY(0);
}

.gallery-cover.active-cover {
    box-shadow: 0 0 0 4px var(--accent-red);
}

.gallery-cover.active-cover .cover-overlay {
    opacity: 1;
    background: rgba(195, 0, 47, 0.4);
}

.inline-grid-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-grid-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-grid-btn:hover {
    color: #fff;
    border-color: var(--accent-red);
    background: var(--accent-red);
}

/* Inline Masonry Grid */
.gallery-inline-grid {
    column-count: 3;
    column-gap: 15px;
    transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

@media (max-width: 992px) {
    .gallery-inline-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-inline-grid {
        column-count: 1;
    }
}

.gallery-inline-grid img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-inline-grid img:hover {
    transform: scale(1.02);
}
