@charset "UTF-8";

/* =============================================================
   MAIN.CSS — Yıldız Otel | Tüm Sayfalarda Ortak Stiller
   ============================================================= */

/* ─────────────────────────────────────────────
   1. Google Fonts Import (must be before :root)
───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* ─────────────────────────────────────────────
   2. CSS Değişkenleri
───────────────────────────────────────────── */
:root {
    --navy:          #1a2b4a;
    --navy-dark:     #0f1c32;
    --navy-mid:      #223358;
    --gold:          #c9a84c;
    --gold-light:    #e8c96a;
    --gold-pale:     #f5e9c8;
    --white:         #ffffff;
    --gray-light:    #f5f7fa;
    --beige:         #f5efe6;
    --text-dark:     #2c2c2c;
    --text-muted:    #6c757d;
    --border-color:  #e2e8f0;
    --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:     0 8px 40px rgba(0,0,0,0.18);
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-lg:     16px;
    --transition:    all 0.3s ease;
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Lato', 'Segoe UI', Arial, sans-serif;
}

/* ─────────────────────────────────────────────
   3. Reset & Body Genel Stiller
───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ─────────────────────────────────────────────
   4. Tipografi
───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────
   5. Section Padding & Section Title
───────────────────────────────────────────── */
.section-padding {
    padding: 90px 0;
}

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

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

.section-title h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    color: var(--navy);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
}

.title-divider {
    width: 56px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ─────────────────────────────────────────────
   6. Butonlar
───────────────────────────────────────────── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-gold:hover {
    background: #b8922f;
    border-color: #b8922f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--navy);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,43,74,0.3);
}

/* ─────────────────────────────────────────────
   7. Top Bar
───────────────────────────────────────────── */
#top-bar {
    background: var(--navy-dark);
    padding: 9px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

#top-bar .top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

#top-bar .top-info-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.72);
    transition: var(--transition);
    white-space: nowrap;
}

#top-bar .top-info-item i {
    color: var(--gold);
    font-size: 0.8rem;
}

#top-bar .top-info-item:hover {
    color: var(--gold);
}

#top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#top-bar .social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

#top-bar .social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    transition: var(--transition);
}

#top-bar .social-links a:hover {
    background: var(--gold);
    color: var(--white);
}

/* ─────────────────────────────────────────────
   8. Header / Navbar
───────────────────────────────────────────── */
#main-header {
    background: rgba(26,43,74,0.97);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

#main-header.scrolled {
    background: rgba(15,28,50,0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    border-bottom-color: rgba(201,168,76,0.25);
}

#main-header .navbar-brand img {
    height: 52px;
    width: auto;
}

#main-header .navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.82) !important;
    padding: 22px 13px !important;
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

#main-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

#main-header .navbar-nav .nav-link:hover,
#main-header .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

#main-header .navbar-nav .nav-link:hover::after,
#main-header .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

#main-header .navbar-toggler {
    border-color: rgba(201,168,76,0.4);
    padding: 6px 10px;
}

#main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-rezervasyon {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition) !important;
}

.btn-rezervasyon:hover {
    background: #b8922f !important;
    color: var(--white) !important;
    transform: translateY(-1px) !important;
}

.btn-rezervasyon::after {
    display: none !important;
}

/* ─────────────────────────────────────────────
   9. Footer
───────────────────────────────────────────── */
#site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}

#site-footer .footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

#site-footer .footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

#site-footer .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#site-footer .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

#site-footer .footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

#site-footer .footer-widget-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.18);
}

#site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#site-footer .footer-links li {
    margin-bottom: 9px;
}

#site-footer .footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

#site-footer .footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

#site-footer .footer-links a i {
    font-size: 0.65rem;
    color: var(--gold);
    opacity: 0.7;
}

#site-footer .footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    align-items: flex-start;
}

#site-footer .footer-contact-item i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

#site-footer .footer-contact-item a {
    color: rgba(255,255,255,0.6);
}

#site-footer .footer-contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 50px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.footer-bottom a {
    color: rgba(201,168,76,0.7);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ─────────────────────────────────────────────
   10. WhatsApp Float
───────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1ebe5a;
    color: var(--white);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: wp-pulse 2.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes wp-pulse {
    0%   { transform: scale(1);    opacity: 0.5; }
    70%  { transform: scale(1.55); opacity: 0;   }
    100% { transform: scale(1.55); opacity: 0;   }
}

/* ─────────────────────────────────────────────
   11. Responsive
───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .section-padding { padding: 65px 0; }

    #main-header .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    #main-header .navbar-nav .nav-link::after {
        display: none;
    }

    .btn-rezervasyon {
        margin: 10px 0 !important;
    }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 50px 0; }

    #top-bar .top-bar-left .top-info-item:not(:first-child) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* =============================================================
   ALT SAYFA ORTAK STİLLER — main.css eklentisi
   ============================================================= */

/* ─────────────────────────────────────────────
   fade-up animasyonu (tüm sayfalarda ortak)
───────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────────────────────
   Page Hero — İç Sayfa Banner
───────────────────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 50px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,28,50,0.55) 0%,
        rgba(15,28,50,0.75) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    margin: 0;
    font-weight: 300;
}

/* Bootstrap Breadcrumb Override */
.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 14px;
}

.page-hero .breadcrumb-item a {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.page-hero .breadcrumb-item a:hover {
    color: var(--white);
}

.page-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.45);
    content: "›";
    font-size: 1rem;
}

/* ─────────────────────────────────────────────
   CTA Section — Ortak Rezervasyon Çağrısı
───────────────────────────────────────────── */
.cta-section {
    position: relative;
    padding: 90px 0;
    background-image: url('assets/img/otel/DSCF3180.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,28,50,0.80);
    z-index: 1;
}

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

.cta-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 14px;
}

.cta-inner p {
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.75;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid #25d366;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-wa:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ─────────────────────────────────────────────
   Form Genel Override
───────────────────────────────────────────── */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    padding: 10px 14px;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
    outline: none;
}

.form-control::placeholder {
    color: #b0b8c9;
    font-size: 0.88rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

/* ─────────────────────────────────────────────
   İstatistik / Counter Alanı (sayfa ortakları)
───────────────────────────────────────────── */
.stat-section {
    background: var(--navy);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   Responsive — Alt Sayfa
───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .page-hero {
        min-height: 280px;
        padding-bottom: 40px;
    }
    .page-hero-title {
        font-size: 1.9rem;
    }
    .cta-section {
        padding: 65px 0;
        background-attachment: scroll;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 240px;
        padding-bottom: 30px;
    }
    .page-hero-title {
        font-size: 1.6rem;
    }
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}
