:root {
    --primary: #d4af37;
    --secondary: #1a1a1a;
    --dark: #0a0a0a;
    --light: #f4f4f4;
    --text-gray: #a0a0a0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navbar */
header {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.logo {
    font-size: clamp(0.5rem, 0.45rem + 1.4vw, 1.5rem);
    font-weight: 800;
    color: var(--light);
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.25rem);
    padding-right: 0.5rem;
}

.logo span {
    color: var(--primary);
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: 0.3s;
}

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

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

.nav-links a.active-link {
    color: var(--primary);
}

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

/* Hakkımızda — açılır alt menü (masaüstü) */
.nav-links > li.nav-dropdown {
    position: relative;
}

.nav-dropdown-desktop {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-caret {
    font-size: 0.6em;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.nav-dropdown-mobile-head {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.nav-submenu-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    line-height: 1;
    font-size: 1rem;
    transition: color 0.2s, transform 0.25s ease, background 0.2s, border-color 0.2s;
}

.nav-submenu-toggle:hover {
    color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
}

.nav-submenu {
    list-style: none;
    margin: 0;
    position: absolute;
    left: 50%;
    /* Başlığın altında net boşluk; negatif margin yok — üst üste binme yok */
    top: calc(100% + 6px);
    padding: 0.4rem 0;
    transform: translate(-50%, 4px);
    min-width: 260px;
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* ::before köprüsü taşabilsin */
    overflow: visible;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Tetikleyici ile kutu arasındaki boşlukta hover düşmesin (görünmez köprü) */
.nav-submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 6px;
}

/* Üstte ince altın çizgi */
.nav-submenu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.85;
    pointer-events: none;
    border-radius: 14px 14px 0 0;
}

@media (min-width: 769px) {
    .nav-links > li.nav-dropdown:hover .nav-caret,
    .nav-links > li.nav-dropdown:focus-within .nav-caret {
        transform: rotate(180deg);
    }

    .nav-dropdown:hover .nav-submenu,
    .nav-dropdown:focus-within .nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-submenu a {
    display: block;
    padding: 0.7rem 1.35rem;
    font-size: 0.82rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-submenu a::after {
    display: none;
}

.nav-submenu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    padding-left: 1.5rem;
}

.nav-submenu a.active-link {
    color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: inset 3px 0 0 var(--primary);
}

/* Form & Input Styles */
.input-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.input-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.input-control {
    resize: vertical;
    min-height: 120px;
}

select.input-control {
    appearance: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--primary);
    transform: translateX(-5px);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* Products Page */
.products-page {
    padding: 8rem 5% 5rem;
}

.category-filter {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #111;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-badge.low-stock {
    background: var(--primary);
    color: #000;
}

.product-badge.out-of-stock {
    background: #e74c3c;
    color: #fff;
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.product-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.product-card-desc {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.product-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-card-btn {
    background: var(--primary);
    color: #000;
}

.product-card-btn i {
    transition: transform 0.3s;
}

.product-card:hover .product-card-btn i {
    transform: translateX(4px);
}

.empty-state {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    display: block;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Products Responsive */
@media (max-width: 768px) {
    .products-page {
        padding-top: 6rem;
    }
    .category-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.2rem;
    }
    .product-card-body {
        padding: 1.2rem;
    }
    .product-card-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .filter-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }
}

/* Team Detail Page */
.team-detail-section {
    padding: 8rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.team-detail-img-col {
    position: sticky;
    top: 6rem;
}

.team-detail-photo {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.team-social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.team-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-social-btn:hover {
    transform: translateY(-4px) scale(1.1);
}

.team-social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.team-social-btn.instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.5);
}

.team-social-btn.twitter {
    background: #1DA1F2;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.team-social-btn.twitter:hover {
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.5);
}

.team-social-btn.youtube {
    background: #FF0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.team-social-btn.youtube:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.team-social-btn.facebook {
    background: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.team-social-btn.facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.team-detail-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.team-detail-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.team-detail-bio {
    color: var(--text-gray);
    line-height: 2;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .team-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .team-detail-img-col {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
    .team-detail-name {
        font-size: 2rem;
    }
    .team-detail-section {
        padding-top: 6rem;
    }
}

/* About Page */
.about-page-section {
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-page-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.about-page-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.about-page-tagline {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-page-desc {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2.5rem 0;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    text-align: center;
}

.about-stat-card h3 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.about-stat-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.about-page-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-page-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.about-mission-section {
    padding: 4rem 5% 5rem;
    background: var(--secondary);
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-mission-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.about-mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.about-mission-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.about-mission-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-mission-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Page */
.contact-section {
    padding: 8rem 5% 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-block {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.contact-info-item h3 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.contact-info-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    word-break: break-word;
}

/* Two-column Grid Responsive */
@media (max-width: 768px) {
    .product-detail-grid,
    .contact-grid,
    .about-grid,
    .team-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* About Page Responsive */
@media (max-width: 992px) {
    .about-page-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-page-img {
        max-height: 400px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-page-section {
        padding-top: 6rem;
    }
    .about-page-title {
        font-size: 2.2rem;
    }
    .about-page-tagline {
        font-size: 1.1rem;
    }
    .about-page-actions {
        flex-direction: column;
    }
    .about-page-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .about-stat-card {
        padding: 1rem 0.8rem;
    }
    .about-stat-card h3 {
        font-size: 1.5rem;
    }
    .about-page-title {
        font-size: 1.8rem;
    }
}


/* Hero Slider */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.8s ease;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide.prev-slide {
    transform: translateX(-100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeIn 1.2s ease-out;
    margin-top: 60px;
}

.slider-arrows {
    position: absolute;
    bottom: 50px;
    right: 5%;
    display: flex;
    gap: 1.5rem;
    z-index: 20;
}

.arrow {
    width: 55px;
    height: 55px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(5px);
}

.arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: #b8962e;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--primary);
    color: white;
    margin-left: 1rem;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Products Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title span {
    color: var(--primary);
}

.products-section {
    padding: 5rem 5%;
    background-color: var(--secondary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
    background: #111;
}

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

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Classes Section (Homepage) */
.classes-section {
    padding: 5rem 5%;
    background-color: #0c0c0c;
}

/* Classes Page (Standalone) */
.classes-page {
    padding: 8rem 5% 5rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.class-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}

.class-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.class-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.2));
    transition: 0.4s;
}

.class-card:hover::after {
    background: linear-gradient(to top, rgba(212, 175, 55, 0.8), rgba(0,0,0,0.4));
}

.class-card:hover .class-img {
    transform: scale(1.1);
}

.class-info {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    transform: translateY(10px);
    transition: 0.4s;
}

.class-card:hover .class-info {
    transform: translateY(0);
}

.class-category-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    background: rgba(212, 175, 55, 0.15);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
}

.class-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.class-time {
    color: var(--light);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Classes Page Responsive */
@media (max-width: 992px) {
    .classes-page {
        padding: 7rem 4% 4rem;
    }
    .classes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .classes-page {
        padding: 6rem 4% 3rem;
    }
    .classes-page .category-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0;
    }
    .classes-page .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
    .classes-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    .class-card {
        height: 280px;
    }
    .class-title {
        font-size: 1.2rem;
    }
    .class-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .classes-page {
        padding: 5.5rem 4% 2.5rem;
    }
    .classes-page .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .classes-page .category-filter {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    .classes-page .filter-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }
    .classes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .class-card {
        height: 260px;
    }
    .class-title {
        font-size: 1.1rem;
    }
    .class-info {
        padding: 1.2rem;
    }
    .class-category-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.6rem;
    }
    .class-card-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Call To Action */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(45deg, var(--dark), var(--secondary));
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 800;
}

.cta-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Manual Scroll Gallery */
.marquee-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 5%;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
}

.marquee-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.marquee-content {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-item {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    scroll-snap-align: center;
    cursor: pointer;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.marquee-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.marquee-item:hover img {
    filter: brightness(1.1);
}

.class-card-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.class-card-btn:hover {
    background-color: #b8962e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

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

/* Footer */
footer {
    background-color: #050505;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.footer-col p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Preloader (hidden on repeat visits via html.preloader-skip from localStorage) */
html.preloader-skip .preloader {
    display: none !important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loader-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Switch to contain to prevent cropping/overflow while remaining full height/width */
    display: block;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }
    .about-grid {
        gap: 2.5rem !important;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--light);
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        padding-top: 6rem;
        padding-bottom: 2rem;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out, opacity 0.4s;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        z-index: 999;
    }
    .nav-links a {
        font-size: 1.3rem;
    }
    .nav-dropdown {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .nav-dropdown-desktop {
        display: none !important;
    }
    .nav-dropdown-mobile-head {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    .nav-about-link {
        font-size: 1.3rem;
    }
    .nav-submenu-toggle {
        font-size: 1.15rem;
        padding: 0.35rem 0.45rem;
    }
    .nav-dropdown:not(.submenu-open):hover .nav-submenu,
    .nav-dropdown:not(.submenu-open):focus-within .nav-submenu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-submenu::before,
    .nav-submenu::after {
        display: none;
    }

    .nav-submenu {
        position: static;
        left: auto;
        transform: none;
        margin-top: 0;
        min-width: auto;
        width: 100%;
        max-width: 340px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        margin-top: 0.35rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border: 1px solid transparent;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 14px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }
    .nav-dropdown.submenu-open .nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 480px;
        padding: 0.5rem 0;
        margin-top: 0.75rem;
        background: rgba(16, 16, 16, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 0 0 1px rgba(212, 175, 55, 0.08),
            0 16px 40px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .nav-submenu li + li {
        border-top-color: rgba(255, 255, 255, 0.07);
    }
    .nav-submenu a {
        font-size: 1.05rem;
        padding: 0.65rem 1.1rem;
    }
    .nav-submenu a:hover {
        padding-left: 1.25rem;
    }
    .nav-dropdown.submenu-open .nav-submenu-toggle {
        background: rgba(212, 175, 55, 0.12);
        border-color: rgba(212, 175, 55, 0.3);
        color: var(--primary);
    }
    .nav-dropdown.submenu-open .nav-submenu-toggle i {
        transform: rotate(180deg);
    }
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    header .btn {
        display: none !important;
    }
    .hero {
        height: 100vh;
        height: 100dvh;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    .btn-outline {
        margin-left: 0;
    }
    .slider-arrows {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    .arrow {
        width: 45px;
        height: 45px;
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .product-detail-section, .listing-section, .contact-section {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    section[style*="padding-top:8rem"] {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }
    .contact-form, .contact-info-block {
        padding: 1.5rem !important;
    }
    .contact-info-item {
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .contact-info-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    .product-detail-img-wrapper {
        max-height: 350px;
    }
    .product-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .product-actions .btn {
        width: 100%;
        margin-left: 0 !important;
    }
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
    .class-card {
        height: 280px;
    }
    .class-title {
        font-size: 1.2rem;
    }
    .class-info {
        padding: 1.5rem;
    }
    .card-img {
        height: 200px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-col {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .footer-col:last-child {
        border-bottom: none;
    }
    .footer-col h3 {
        font-size: 1.3rem;
    }
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-price {
        font-size: 1.3rem;
    }
    .product-detail-title {
        font-size: 1.8rem;
    }
    .logo {
        font-size: clamp(0.48rem, 0.42rem + 1.2vw, 1.35rem);
        letter-spacing: 0;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-desc {
        font-size: 0.9rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .class-card {
        height: 250px;
    }
    .card-body {
        padding: 1.2rem;
    }
    footer {
        padding: 3rem 5% 1.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 5% 5rem;
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    background: rgba(212, 175, 55, 0.8);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

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

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}



/* News Section */
.news-section { padding: 5rem 5%; background-color: var(--secondary); }

/* Team Section */
.team-section { padding: 5rem 0; background-color: var(--dark); }

/* Section Responsive */
@media (max-width: 768px) {
    .team-section .grid, .news-section .grid { padding: 0 5%; }
    .team-section, .news-section { padding-left: 0; padding-right: 0; }

    .team-section .card-img,
    .card-img[style*="height:350px"] {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .team-section .card-img,
    .card-img[style*="height:350px"] {
        height: 200px !important;
    }
}

/* Video iframe responsive */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Detail pages mobile */
@media (max-width: 768px) {
    section[style*="max-width:900px"] img[style*="height:400px"] {
        height: 250px !important;
    }
    h1[style*="font-size:2.5rem"] {
        font-size: 1.8rem !important;
    }
    h1[style*="font-size:3rem"] {
        font-size: 2rem !important;
    }
    p[style*="font-size:1.2rem"] {
        font-size: 1rem !important;
    }
    .card-price[style*="font-size:2.5rem"] {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    section[style*="max-width:900px"] img[style*="height:400px"] {
        height: 180px !important;
    }
    h1[style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }
    h1[style*="font-size:3rem"] {
        font-size: 1.6rem !important;
    }
    section[style*="padding-left:5%"] {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
    section[style*="gap:4rem"] {
        gap: 2rem !important;
    }
}

/* Homepage Gallery Section */
.home-gallery-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--dark) 0%, rgba(15, 15, 15, 1) 100%);
}

.home-gallery-section .gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Branches Section */
.branches-section {
    padding: 5rem 5%;
    background: var(--dark);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.branch-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.05);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #b8962e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.branch-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--light);
}

.branch-address {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

a.branch-address-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

a.branch-address-link:hover {
    color: var(--primary);
}

.branch-phone-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.branch-phone-link:hover {
    color: var(--primary);
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.branch-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.branch-detail-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 18px;
}

@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .branch-card {
        padding: 2rem 1.5rem;
    }
    .home-gallery-section {
        padding: 3rem 4%;
    }
    .branches-section {
        padding: 3rem 4%;
    }
}

@media (max-width: 480px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
    .branch-name {
        font-size: 1.3rem;
    }
}

/* Yarışmacılar — liste + detay (front/competitors.html, competitor-detail.html uyumu) */
.listing-section.competitors-page {
    padding: 10rem 5% 5rem;
}

.listing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.listing-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.listing-title span {
    color: var(--primary);
}

.listing-lead {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

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

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.competitor-card-img {
    height: 350px;
    object-fit: cover;
    object-position: top;
}

.competitor-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: var(--text-gray);
    font-size: 3rem;
}

.product-detail-container,
.competitor-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

.competitor-detail-img-wrap {
    border-radius: 15px;
    overflow: hidden;
    max-height: 560px;
    background: #111;
}

.product-detail-img,
.competitor-detail-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 15px;
}

.competitor-detail-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-gray);
    background: #1a1a1a;
}

.competitor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.competitor-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.competitor-badge--primary {
    background: var(--primary);
    color: white;
}

.competitor-badge--muted {
    background: #2a2a2a;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.competitor-detail-subtitle {
    font-size: 1.5rem !important;
    color: var(--text-gray) !important;
    font-weight: 600 !important;
    margin-bottom: 1.25rem !important;
}

.competitor-detail-bio {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.competitor-detail-bio p {
    margin-bottom: 1rem;
}

ul.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

ul.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

ul.product-features li i {
    color: var(--primary);
    width: 22px;
    text-align: center;
}

.competitor-achievements-heading {
    color: white;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.competitor-achievements {
    margin-top: 0.5rem;
}

.competitor-achievements .achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 77, 77, 0.08);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.competitor-achievements .achievement-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.competitor-achievements .achievement-text {
    color: white;
    font-weight: 600;
}

.competitor-achievements .achievement-year {
    color: var(--primary);
    font-weight: 800;
    margin-right: 10px;
}

.competitor-detail-actions {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 992px) {
    .product-detail-container,
    .competitor-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .competitor-detail-img-wrap {
        max-height: 400px;
    }

    .product-detail-img,
    .competitor-detail-img {
        min-height: 280px;
    }
}

/* Başarılarımız */
.listing-section.achievements-page {
    padding: 10rem 5% 5rem;
}

.achievements-single {
    max-width: 900px;
    margin: 0 auto;
}

.achievements-photo-wrap {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.achievements-photo {
    width: 100%;
    display: block;
    max-height: 560px;
    object-fit: cover;
}

.achievements-body {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.achievements-body p {
    margin-bottom: 1.1rem;
}

.achievements-body h2,
.achievements-body h3,
.achievements-body h4 {
    color: var(--light);
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.achievements-body ul,
.achievements-body ol {
    margin: 1rem 0 1rem 1.25rem;
}

.achievements-body a {
    color: var(--primary);
    text-decoration: underline;
}

.achievements-body a:hover {
    color: #e8c547;
}

.achievements-body img,
.achievements-body video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.achievements-body iframe {
    max-width: 100%;
}

/* Başarılarımız / Markalarımız — çoklu kutu (grid kartlar) */
.static-page-items.static-page-items-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.85rem;
    align-items: stretch;
    width: 100%;
}

.static-page-items-grid .static-page-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 0;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.static-page-items-grid .static-page-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

.static-page-items-grid .static-page-item.brands-item--clickable {
    cursor: pointer;
}

.static-page-items-grid .static-page-item-photo {
    margin-bottom: 0;
    flex-shrink: 0;
}

.static-page-items-grid .static-page-item .achievements-photo-wrap {
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
}

.static-page-items-grid .static-page-item .achievements-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.static-page-items-grid .static-page-item-body {
    padding: 1.2rem 1.3rem 1.45rem;
    flex: 1;
}

.static-page-items-grid .static-page-item-body p:first-child {
    margin-top: 0;
}

/* Başarılarımız & Markalarımız — mobil / tablet */
@media (max-width: 992px) {
    .listing-section.achievements-page {
        padding: 8.5rem 4% 4rem;
    }

    .listing-section.achievements-page .listing-header {
        margin-bottom: 2.25rem;
    }

    .listing-section.achievements-page .listing-title {
        font-size: 2rem;
    }

    .achievements-single {
        padding: 0 0.25rem;
    }

    .static-page-items.static-page-items-grid {
        gap: 1.65rem;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .listing-section.achievements-page {
        padding: 7rem 4% 3rem;
    }

    .listing-section.achievements-page .listing-header {
        margin-bottom: 1.75rem;
    }

    .listing-section.achievements-page .listing-title {
        font-size: 1.7rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .achievements-photo {
        max-height: 360px;
    }

    .achievements-photo-wrap {
        margin-bottom: 1.75rem;
        border-radius: 10px;
    }

    .achievements-body {
        font-size: 1rem;
        line-height: 1.75;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .static-page-items.static-page-items-grid {
        gap: 1.35rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .listing-section.achievements-page {
        padding: 6.25rem 4% 2.5rem;
    }

    .listing-section.achievements-page .listing-title {
        font-size: 1.35rem;
        letter-spacing: 0.03em;
    }

    .listing-section.achievements-page .listing-header {
        margin-bottom: 1.25rem;
    }

    .achievements-photo {
        max-height: 220px;
    }

    .achievements-body {
        font-size: 0.95rem;
        padding: 0 0.15rem;
    }

    .achievements-body ul,
    .achievements-body ol {
        margin-left: 1rem;
        margin-right: 0;
        padding-left: 1rem;
    }

    .achievements-body h2,
    .achievements-body h3,
    .achievements-body h4 {
        font-size: 1.15rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .static-page-items.static-page-items-grid {
        gap: 1.15rem;
    }
}

/* Belgelerimiz */
.listing-section.documents-page .documents-lead {
    max-width: 640px;
    margin: 0.75rem auto 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.65;
}

.documents-empty {
    text-align: center;
    color: var(--text-gray);
    max-width: 520px;
    margin: 2rem auto 0;
    font-size: 1.05rem;
}

.documents-list {
    list-style: none;
    margin: 2.5rem auto 0;
    padding: 0;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.document-card {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.document-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.45rem;
}

.document-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.document-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--light);
    line-height: 1.35;
}

.document-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

a.btn-doc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.btn-doc-view {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

a.btn-doc-view:hover {
    background: rgba(212, 175, 55, 0.32);
    color: #e8c547;
}

a.btn-doc-download {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

a.btn-doc-download:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--primary);
}

@media (max-width: 480px) {
    .document-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-card-icon {
        width: 48px;
        height: 48px;
    }
}
