/* CSS Reset & Variables */
:root {
    --primary-color: #1b1b1b;
    --secondary-color: #2ba045;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.section {
    padding: 80px 0;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0px 0;
    background: rgba(255, 255, 255, 0.05);
    /* Çok hafif transparan */
    backdrop-filter: blur(15px);
    /* Buz efekti */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    /* Logoyu büyüttük */
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    margin-left: 30px;
    font-weight: 600;
    /* Biraz daha kalınlaştırdık */
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Okunurluk için gölge */
}

header.scrolled .nav-links li a {
    color: var(--text-color);
    text-shadow: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dropdown Style */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header.scrolled .dropbtn {
    color: var(--text-color);
    text-shadow: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 170px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    text-shadow: none !important;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color) !important;
}

.dropdown-content a.active {
    font-weight: 700;
    color: var(--secondary-color) !important;
    border-left: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

header.scrolled .menu-toggle {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/otel.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-main {
    background: var(--secondary-color);
    color: var(--white);
    margin-right: 15px;
}

.btn-main:hover {
    background: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Nav rezervasyon butonu */
.btn-primary {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    text-shadow: none !important;
    transition: var(--transition);
    display: inline-block;
    line-height: 1;
}

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

/* Nav içindeki btn-primary override */
.nav-links li a.btn-primary {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    text-shadow: none !important;
    border-radius: 6px;
    padding: 10px 22px;
    margin-left: 15px;
}

header.scrolled .nav-links li a.btn-primary {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Konum section - açık zemin üzerinde btn-outline */
.bg-light .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.bg-light .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Highlight Box */
.highlight-box {
    margin-top: 20px;
    padding: 15px;
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
}

.section-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Booking */
.direct-booking-wrap {
    margin: 35px 0 25px;
}

.direct-booking-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1b1b1b 0%, #2d4a1e 100%);
    color: #fff;
    text-decoration: none;
    padding: 22px 30px;
    border-radius: 16px;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}

.direct-booking-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2ba045 0%, #1e7a32 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.direct-booking-btn:hover::before { opacity: 1; }
.direct-booking-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(43,160,69,0.35); }

.dbb-icon {
    width: 56px;
    height: 56px;
    background: rgba(43,160,69,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background 0.35s;
}
.direct-booking-btn:hover .dbb-icon { background: rgba(255,255,255,0.2); }

.dbb-text {
    flex: 1;
    position: relative;
    z-index: 1;
}
.dbb-text strong { display: block; font-size: 1.15rem; font-weight: 700; }
.dbb-text small   { display: block; font-size: 0.82rem; opacity: 0.75; margin-top: 3px; }

.dbb-arrow {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s;
}
.direct-booking-btn:hover .dbb-arrow { transform: translateX(5px); opacity: 1; }

.booking-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 0;
}

.booking-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px 20px;
    background: var(--white);
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--secondary-color);
    transition: height 0.3s ease;
}

.booking-card:hover::before {
    height: 100%;
    opacity: 0.08;
}

.booking-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    background: var(--secondary-color);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(43,160,69,0.3);
}

.booking-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.booking-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: #888;
    background: #f3f3f3;
    padding: 3px 10px;
    border-radius: 20px;
    transition: var(--transition);
}

/* Platform renkleri */
.booking-booking .booking-icon  { background: #003580; box-shadow: 0 4px 12px rgba(0,53,128,0.3); }
.booking-hotels  .booking-icon  { background: #cc0000; box-shadow: 0 4px 12px rgba(204,0,0,0.3); }
.booking-agoda   .booking-icon  { background: #5b2d93; box-shadow: 0 4px 12px rgba(91,45,147,0.3); }
.booking-tripadvisor .booking-icon { background: #34e0a1; box-shadow: 0 4px 12px rgba(52,224,161,0.3); }
.booking-obilet  .booking-icon  { background: #ff6b00; box-shadow: 0 4px 12px rgba(255,107,0,0.3); }
.booking-tatilbudur .booking-icon { background: #e31e54; box-shadow: 0 4px 12px rgba(227,30,84,0.3); }
.booking-enuygun .booking-icon  { background: #f5a623; box-shadow: 0 4px 12px rgba(245,166,35,0.3); }
.booking-trivago .booking-icon  { background: #007bff; box-shadow: 0 4px 12px rgba(0,123,255,0.3); }
.booking-skyscanner .booking-icon { background: #00b4d8; box-shadow: 0 4px 12px rgba(0,180,216,0.3); }

.booking-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.booking-card:hover .booking-icon {
    transform: scale(1.1);
}

.booking-card:hover .booking-tag {
    background: var(--secondary-color);
    color: var(--white);
}

/* Footer */
footer {
    background: #111;
    color: #eee;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

footer h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Beyaz yapmak için logo renkliyse */
}

.social-links a {
    color: #eee;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: var(--transition);
}

.footer-contact a {
    color: #eee;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp {
    background: #25d366;
}

.phone {
    background: var(--secondary-color);
}

.btn-float:hover {
    transform: scale(1.1);
}

.show-mobile {
    display: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

[class*="animate-"] {
    opacity: 0;
    transition: 0.8s ease-out;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.animate-up {
    transform: translateY(50px);
}

.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        /* Taşmaları engelle */
    }

    header .container {
        padding: 0 20px !important;
        /* Logoyu ve menüyü içeri çek */
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-main {
        margin-right: 0;
        width: 100%;
        max-width: 300px;
    }

    .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .booking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .direct-booking-btn {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .dbb-arrow { display: none; }

    .nav-links {
        display: flex;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
        padding: 10px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: -5px;
    }

    .logo-img {
        height: 60px;
    }

    .dropdown {
        margin-top: 0;
        width: auto;
    }

    .dropdown-content {
        position: absolute;
        display: none;
        /* Mobilde de hover/tıkla açılsın */
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        width: 150px;
        text-align: left;
        top: 100%;
        right: 0;
        border-radius: 8px;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--text-color) !important;
    }

    .dropbtn {
        padding: 5px 10px;
        font-size: 0.85rem;
        color: var(--white) !important;
    }

    header.scrolled .dropbtn {
        color: var(--text-color) !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 1.1rem;
        color: var(--text-color) !important;
        text-shadow: none !important;
        margin-left: 0;
    }

    .show-mobile {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .floating-btns {
        right: 15px;
        bottom: 20px;
    }
}