/* ===============================
   HERO (BASE)
================================ */
.hero {
    padding: 0;
    margin: 0;
    background: transparent;
    color: #fff;
    position: relative;
}

.hero h1 {
    max-width: 720px;
}

/* ===============================
   HERO CAROUSEL
================================ */


.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* FULL WIDTH SLIDER */
.hero-carousel-inner,
.hero-slide {
    height: clamp(420px, 55vh, 720px);
}

/* SLIDE */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 55vh;   /* 100vh yerine */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 1.2s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* OVERLAY */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2,6,23,.55) 0%,
        rgba(2,6,23,.35) 40%,
        rgba(2,6,23,.65) 100%
    );
    z-index: 0;
}

/* CONTENT */
.hero-carousel .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
    padding: 80px 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,.55);
}

/* HERO TEXT ANIMATIONS */
.hero-content h1,
.hero-content p,
.hero-buttons {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}

.hero-slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}

.hero-slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .4s;
}

.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .6s;
}

/* HERO BUTTONS */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero .btn-primary,
.hero .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(8,47,73,.55);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero .btn-primary {
    background: linear-gradient(135deg, var(--secondary), #0284c7);
    color: #fff;
}

.hero .btn-secondary {
    background: rgba(15,23,42,.75);
    color: #e5f4ff;
    border: 1px solid rgba(148,163,184,.6);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(8,47,73,.7);
}

/* BACKGROUND IMAGES */
.hero-slide:nth-child(1) {
    /* background-image: url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80"); */
    background-image: url("https://basinodasi.eib.org.tr/images/EFF984AE83A14DCF90CF97DC30DAF62E.jpeg");
}

.hero-slide:nth-child(2) {
    background-image: url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?w=1920&q=80");
}

.hero-slide:nth-child(3) {
    /* background-image: url("https://msc-p-001.sitecorecontenthub.cloud/api/public/content/456c548c2510496ab86eeee26a82d932?v=09714e27?w=1920"); */
    background-image: url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80");
}

/* DOTS */
.hero-carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(148,163,184,.7);
    opacity: .7;
    cursor: pointer;
    transition: width .25s ease, background .25s ease, opacity .25s ease;
}

.hero-carousel-dots .dot.active {
    width: 26px;
    background: var(--accent);
    opacity: 1;
}

/* ===============================
   LME WIDGET
================================ */
.lme-widget {
    padding: 40px 0 0;
}

.lme-card {
    background: #0b1120;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.65);
    color: #e5e7eb;
}

.lme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.lme-header h2 {
    color: #ffffff;
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lme-updated {
    font-size: .8rem;
    color: #ffffff;
}

.lme-table-wrapper {
    max-height: 220px;
    overflow-y: auto;
}

/* ===============================
   LME TABLE FIX
================================ */

.lme-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 🔑 KRİTİK */
}

.lme-table thead th {
    padding: 10px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ffffff;
    border-bottom: 1px solid rgb(255, 255, 255);
}

.white-title {
    color: #fff !important;
}

.lme-table tbody td {
    padding: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(254, 254, 254, 0.05);
}

/* Kolon hizaları */
.lme-table th:nth-child(1),
.lme-table td:nth-child(1) {
    width: 40%;
    text-align: left;
}

.lme-table th:nth-child(2),
.lme-table td:nth-child(2) {
    width: 20%;
    text-align: center;
}

.lme-table th:nth-child(3),
.lme-table td:nth-child(3) {
    width: 40%;
    text-align: right;
    font-weight: 600;
}


/* ===============================
   SERVICES
================================ */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15,23,42,.12);
}

/* ===============================
   HOME PRODUCTS
================================ */
.home-products {
    padding: 80px 0;
}

.home-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

/* ===============================
   WHATSAPP
================================ */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    z-index: 999;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .hero-content {
        padding: 80px 16px 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-carousel-inner,
    .hero-slide {
        height: 480px;
    }
}
