/* Temel Ayarlar */
:root {
    --primary-color: #0F172A;
    --secondary-color: #94a3b8;
    --accent-color: #d4af37;
    /* Gold accent */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

/* Swiper Critical CSS */
.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 50px !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.swiper-wrapper {
    align-items: stretch;
}

.brands-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header.scrolled .logo img {
    filter: none;
}

.header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .nav-links {
    display: flex;
    gap: 30px;
}

.header .nav-links a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.header .nav-links a:hover::after {
    width: 100%;
}

.header.scrolled .nav-links a {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

.header.scrolled .mobile-menu-btn {
    color: var(--primary-color);
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.5)), url('../../assets/img/banner/asil.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Page Hero (Subpages) */
.page-hero {
    height: 60vh;
    /* Shorter for subpages */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-white);
    color: #000;
}

.btn-primary:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary-color);
    color: #fff;
}

.btn-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    color: var(--secondary-color);
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    margin: 15px 0 25px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.section-desc {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* About Page Specifics */
.about-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

@media (max-width: 900px) {

    .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Products Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items side-by-side */
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Slider version of product card */
.swiper-slide .product-card {
    height: 100%;
}

.product-image {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio (Square) */
    background: var(--bg-light);
    overflow: hidden;
    cursor: pointer;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    /* Slightly smaller initially */
    max-width: 90%;
    max-height: 90%;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.05);
    /* Zoom effect */
}

.product-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
}

.product-card:hover .product-link {
    color: var(--accent-color);
}

/* Brands */
.brand-item {
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    max-height: 50px;
}

/* Footer Styles (kept mostly same, reinforced) */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 60px;
    font-size: 0.95rem;
    border-top: 5px solid var(--accent-color);
}

/* Footer Top: İletişim Bilgileri */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.contact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.contact-email {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 300;
}

/* Footer Middle: Navigasyon ve Sosyal */
.footer-middle {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-nav {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-nav li {
    list-style: none;
}

.footer-nav a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    color: #888;
    position: relative;
    padding-bottom: 5px;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #888;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.1);
}

/* Footer Bottom: Copyright */
.footer-bottom {
    background-color: #050505;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.8rem;
}

.footer-logo-small img {
    height: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.powered-by a {
    color: var(--accent-color);
    font-weight: 700;
}


/* RESPONSIZE / MOBILE OPTIMIZATIONS */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .header .nav-links {
        display: none;
        /* Hide default nav */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header .nav-links.active {
        display: flex;
    }

    .header .nav-links li {
        width: 100%;
        text-align: center;
    }

    .header .nav-links a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        /* Stack on very small screens? Or keep 2? User likes side-by-side. */
        /* Let's keep 2 columns for products on mobile if possible, but 1 is safer for small cards. 
           User asked for "side by side", so 2 cols is better even on mobile unless very narrow. */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Adjust footer mobile stack */
    .footer-top,
    .footer-nav,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        gap: 30px;
    }
}