@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #0f172a; /* Deep navy */
    --secondary-color: #d4af37; /* Gold */
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #ffffff;
    --bg-offwhite: #f1f5f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.index-page .logo {
    display: none;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.btn.active {
    color: #fff;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5); /* Navy tint */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
    margin-top: -150px;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
    color: var(--secondary-color);
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-center-logo {
    max-width: 250px;
    height: auto;
    margin: 20px auto 0;
    display: block;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Booking Widget */
.booking-widget {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1000px;
    z-index: 10;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: none;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    align-items: end;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.booking-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 42px;
    margin-top: 5px;
    padding: 10px 15px;
}

/* Infinite Slider (Partners) */
.partners-section {
    padding: 60px 0;
    background-color: var(--bg-offwhite);
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-offwhite), transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-offwhite), transparent);
}

.partners-track {
    display: flex;
    width: calc(200px * 14); /* 7 original + 7 duplicate = 14 items */
    animation: scroll 30s linear infinite;
    align-items: center;
}

.partners-track:hover {
    animation-play-state: paused !important;
}

.partner-item {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 7)); }
}

/* Features/About Preview */
.about-preview {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-img-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border: 10px solid var(--bg-light);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Rooms Preview */
.rooms-preview {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.rooms-preview .section-title {
    color: #fff;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.room-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.room-content {
    padding: 25px;
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

.room-features i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Footer */
.footer {
    background-color: #020617;
    color: #cbd5e1;
    padding: 80px 0 20px;
}

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

.footer-logo {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../img/1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0; /* Changed from 80px */
}

.page-title {
    font-size: 3.5rem;
    animation: fadeInUp 0.8s ease;
}

.page-breadcrumb {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #cbd5e1;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.page-breadcrumb a {
    color: #fff;
}

.page-breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Inner Pages Common */
.content-wrapper {
    background: var(--bg-light);
    padding: 60px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Maps */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Antalya Images */
.info-img-real {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Floating Buttons */
.float-whatsapp, .float-call {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}
.float-whatsapp {
    bottom: 80px;
    background-color: #25D366;
}
.float-call {
    bottom: 20px;
    background-color: var(--secondary-color);
}
.float-whatsapp:hover, .float-call:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

.mobile-booking-btn {
    display: none;
}
@media (max-width: 1024px) {
    .about-grid { gap: 30px; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 992px) {
    /* Make logo visible on mobile homepage */
    body.index-page .logo {
        display: flex !important;
    }
    .logo img {
        height: 35px !important;
    }
    
    /* Navbar & Hamburger */
    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        z-index: 1001;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--secondary-color);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98); /* Solid dark navy background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li a {
        color: #fff !important;
        font-size: 1.2rem;
    }
    
    .nav-links li a:hover {
        color: var(--secondary-color) !important;
    }
    
    /* Fix language and currency switchers on mobile */
    .lang-switcher {
        margin: 10px 0;
    }
    
    /* Hero Section Fixes */
    .hero-content {
        margin-top: 0; /* Remove negative margin causing overlaps */
        padding: 0 20px;
    }
    
    .booking-widget {
        display: none !important; /* Hide completely on mobile */
    }
    
    .mobile-booking-btn {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.9rem;
        z-index: 1001;
    }
    
    .booking-form {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Footer Fixes */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .booking-form {
        grid-template-columns: 1fr; /* Stack inputs vertically */
        gap: 15px;
    }
    .booking-form .btn {
        grid-column: span 1;
        margin-top: 10px;
    }
    
    .about-img-2 {
        display: none; /* Hide decorative image on very small screens */
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer vertically */
        text-align: center;
        gap: 40px;
    }
    
    .footer-links-wrapper {
        margin: 0 auto;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    .hero {
        min-height: auto;
        padding: 120px 0 50px 0; /* Provide breathing room */
    }
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Multi-Language Support CSS --- */

/* Hide Google Translate Banner and Widget completely */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0px !important;
    position: static !important;
}

/* Remove hover highlight from translated text */
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Custom Language Switcher Styles */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.lang-btn {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #b8962e; /* slightly darker gold */
    border-color: #b8962e;
    color: #fff;
}

.navbar.scrolled .lang-btn {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.navbar.scrolled .lang-btn:hover {
    background: #b8962e;
    color: #fff;
    border-color: #b8962e;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

.mobile-booking-btn.hidden-btn {
    display: none !important;
}


/* --- SEO Kapsamlı İçerik Bölümü --- */
.seo-content-section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background: #f9f9fb;
    border-radius: 12px;
}
.seo-content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.seo-text-container {
    position: relative;
    max-height: 120px; /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.8s ease;
    color: #4a5568;
    line-height: 1.8;
    font-size: 0.95rem;
}
.seo-text-container p {
    margin-bottom: 15px;
}
.seo-text-container.expanded {
    max-height: 15000px; /* Large enough to show all */
}
/* Gradient fade effect at the bottom when collapsed */
.seo-text-container:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(249,249,251,0), rgba(249,249,251,1));
}
.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.read-more-btn:hover {
    background: #e2e8f0;
    color: var(--secondary-color);
}
