/* =============================================================
   INDEX.CSS — Yıldız Otel | Sadece Anasayfaya Özel Stiller
   ============================================================= */

/* ─────────────────────────────────────────────
   1. Hero / Slider
───────────────────────────────────────────── */
#hero {
    position: relative;
}

#hero .carousel {
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

#hero .carousel-inner,
#hero .carousel-item {
    height: 100%;
}

#hero .hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

#hero .hero-slide-1 { background-image: url('../img/otel/DSCF3138.webp'); }
#hero .hero-slide-2 { background-image: url('../img/otel/DSCF3160.webp'); }
#hero .hero-slide-3 { background-image: url('../img/otel/DSCF3201.webp'); }

#hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,28,50,0.78) 0%,
        rgba(15,28,50,0.55) 60%,
        rgba(15,28,50,0.45) 100%
    );
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 760px;
}

#hero .hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.2);
    border: 1px solid rgba(201,168,76,0.5);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

#hero .hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

#hero .hero-content h1 span {
    color: var(--gold);
}

#hero .hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.75;
}

#hero .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#hero .hero-btns .btn-wa {
    background-color: #25d366;
    color: var(--white);
    border: 2px solid #25d366;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#hero .hero-btns .btn-wa:hover {
    background-color: #20ba57;
    border-color: #20ba57;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* Carousel kontrolleri */
#hero .carousel-control-prev,
#hero .carousel-control-next {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: var(--transition);
    bottom: auto;
}

#hero .carousel-control-prev { left: 30px; }
#hero .carousel-control-next { right: 30px; }

#hero .carousel-control-prev:hover,
#hero .carousel-control-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    opacity: 1;
}

#hero .carousel-indicators {
    bottom: 100px;
}

#hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    margin: 0 5px;
    transition: var(--transition);
}

#hero .carousel-indicators .active {
    background-color: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ─────────────────────────────────────────────
   2. Hero Avantaj Kartları
───────────────────────────────────────────── */
.hero-features {
    background-color: var(--navy-dark);
    padding: 0;
    position: relative;
    z-index: 10;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.hero-feature-item:last-child {
    border-right: none;
}

.hero-feature-item:hover {
    background: rgba(201,168,76,0.08);
}

.hero-feature-item .feat-icon {
    width: 46px;
    height: 46px;
    background: rgba(201,168,76,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-feature-item h6 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.hero-feature-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}

/* ─────────────────────────────────────────────
   3. Hakkımızda Bölümü
───────────────────────────────────────────── */
#hakkimizda {
    background-color: var(--white);
}

#hakkimizda .about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#hakkimizda .about-img-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

#hakkimizda .about-img-wrapper:hover img {
    transform: scale(1.03);
}

#hakkimizda .about-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    text-align: center;
}

#hakkimizda .about-badge .badge-num {
    font-size: 2rem;
    line-height: 1;
    display: block;
    font-family: var(--font-heading);
}

#hakkimizda .about-badge .badge-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#hakkimizda .about-text .subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

#hakkimizda .about-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--navy);
}

#hakkimizda .about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.about-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}

.about-feature-box:hover {
    background: var(--beige);
    transform: translateX(4px);
}

.about-feature-box .af-icon {
    color: var(--gold);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature-box h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.about-feature-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────
   4. Odalarımız Bölümü
───────────────────────────────────────────── */
#odalarimiz {
    background-color: var(--gray-light);
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.room-card .room-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.room-card .room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.07);
}

.room-card .room-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.room-card .room-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-card h4 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.room-card .room-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.room-card .room-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.room-card .room-feat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.room-card .room-feat i {
    color: var(--navy);
    font-size: 0.85rem;
}

.room-card .room-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ─────────────────────────────────────────────
   5. Olanaklar Bölümü
───────────────────────────────────────────── */
#olanaklar {
    background-color: var(--white);
}

.amenity-card {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: default;
    background: var(--white);
    height: 100%;
}

.amenity-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(201,168,76,0.15);
    transform: translateY(-6px);
}

.amenity-card .am-icon {
    width: 68px;
    height: 68px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.amenity-card:hover .am-icon {
    background: var(--gold);
    color: var(--white);
}

.amenity-card h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}

.amenity-card:hover h6 {
    color: var(--gold);
}

/* ─────────────────────────────────────────────
   6. Mudanya Deneyimi Bölümü
───────────────────────────────────────────── */
#mudanya-deneyimi {
    position: relative;
    background-image: url('../img/otel/DSCF3190.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

#mudanya-deneyimi .section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15,28,50,0.90) 0%,
        rgba(15,28,50,0.75) 50%,
        rgba(15,28,50,0.55) 100%
    );
}

#mudanya-deneyimi .section-inner {
    position: relative;
    z-index: 2;
}

#mudanya-deneyimi .subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

#mudanya-deneyimi h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    margin-bottom: 18px;
}

#mudanya-deneyimi p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 14px;
}

#mudanya-deneyimi .mudanya-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

#mudanya-deneyimi .mudanya-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

#mudanya-deneyimi .mudanya-features li i {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stat-box {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(201,168,76,0.12);
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-4px);
}

.stat-box .stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    display: block;
}

/* ─────────────────────────────────────────────
   7. Galeri Bölümü
───────────────────────────────────────────── */
#galeri {
    background-color: var(--gray-light);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

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

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,28,50,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-item .gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    background: rgba(15,28,50,0.55);
}

.gallery-item:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* ─────────────────────────────────────────────
   8. Blog Bölümü
───────────────────────────────────────────── */
#blog {
    background-color: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card .blog-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.blog-card .blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card .blog-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card .blog-cat {
    background: var(--gold-pale);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.blog-card .blog-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card .blog-date i {
    font-size: 0.7rem;
    color: var(--gold);
}

.blog-card h5 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover h5 {
    color: var(--gold);
}

.blog-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.blog-card .blog-read-more {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-card .blog-read-more i {
    transition: var(--transition);
    font-size: 0.75rem;
}

.blog-card:hover .blog-read-more {
    color: var(--gold);
}

.blog-card:hover .blog-read-more i {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────────
   9. Rezervasyon CTA Bölümü
───────────────────────────────────────────── */
#rezervasyon {
    position: relative;
    background-image: url('../img/otel/DSCF3180.webp');
    background-size: cover;
    background-position: center;
}

#rezervasyon .rezervasyon-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,28,50,0.90) 0%, rgba(15,28,50,0.80) 100%);
}

#rezervasyon .section-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

#rezervasyon .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 32px;
    border-radius: 2px;
}

#rezervasyon h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 14px;
}

#rezervasyon p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

#rezervasyon .rezervasyon-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

#rezervasyon .btn-phone {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

#rezervasyon .btn-phone:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

#rezervasyon .btn-wapp {
    background: #25d366;
    color: var(--white);
    border: 2px solid #25d366;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

#rezervasyon .btn-wapp:hover {
    background: #20ba57;
    border-color: #20ba57;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ─────────────────────────────────────────────
   10. Anasayfa Media Queries
───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    #hero .carousel {
        min-height: 520px;
    }

    #hakkimizda .about-img-wrapper img {
        height: 380px;
    }

    #hakkimizda .about-badge {
        left: 10px;
    }

    #mudanya-deneyimi {
        background-attachment: scroll;
    }

    .hero-feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 16px 20px;
    }

    .hero-feature-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767.98px) {
    #hero .carousel {
        height: 85vh;
        min-height: 480px;
    }

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

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        display: none;
    }

    #hakkimizda .about-img-wrapper {
        margin-bottom: 30px;
    }

    #hakkimizda .about-img-wrapper img {
        height: 280px;
    }

    #hakkimizda .about-badge {
        left: 20px;
    }

    .stat-box {
        padding: 22px 16px;
    }

    .stat-box .stat-num {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    #hero .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    #hero .hero-btns a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    #rezervasyon .rezervasyon-btns {
        flex-direction: column;
        align-items: center;
    }

    #rezervasyon .btn-phone,
    #rezervasyon .btn-wapp {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
