/* Custom Properties & Reset */
:root {
    --primary-color: #e63946; /* Corporate Red */
    --primary-hover: #c1121f;
    --dark-bg: #1d3557; /* Corporate Navy Blue */
    --footer-bg: #0d1b2a; /* Deep Navy Blue */
    --light-bg: #f8f9fa; /* White/Light Gray */
    --text-main: #2b2d42;
    --text-light: #6c757d;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-bg);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.text-red {
    color: var(--primary-color) !important;
}

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

.section {
    padding: 6rem 0;
}

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

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

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0;
}

.btn-text i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.8rem 3rem 0.8rem 1.5rem; /* Sağdan boşluk (prestige plate için) */
    z-index: 1;
    transition: var(--transition);
}

.logo::before {
    content: '';
    position: absolute;
    top: -1.75rem;
    left: -3rem;
    width: calc(100% + 2rem);
    height: calc(100% + 3.5rem);
    background: var(--white);
    z-index: -1;
    transform: skewX(-15deg);
    box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    border-bottom-right-radius: 12px;
    transition: var(--transition);
}

.navbar.scrolled .logo::before {
    top: -1rem;
    height: calc(100% + 2rem);
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}

.logo-img {
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    max-height: 45px; /* Sadece scrolled durumunda çok büyük olmaması için opsiyonel kısıt */
}

.footer-logo {
    margin-bottom: 2.5rem;
    display: inline-flex !important;
}

.footer-logo::before {
    display: none; /* Footer'da bu efekti istemiyoruz, temiz dursun */
}

.footer-logo .logo-img {
    height: 60px;
    background: #fff; /* Footer logoyu basitçe kurtaralım */
    padding: 10px;
    border-radius: 4px;
}

.navbar.scrolled .logo {
    color: var(--dark-bg);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

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

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

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0; background-color: var(--white);
    min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 4px; padding: 0.5rem 0; z-index: 1000;
}
.nav-dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block !important; padding: 0.8rem 1.5rem !important; color: var(--text-main) !important; font-size: 0.95rem; border: none !important; }
.dropdown-content a::after { display: none !important; }
.dropdown-content a:hover { background-color: var(--light-bg); color: var(--primary-color) !important; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--dark-bg);
}

.mobile-menu-btn.active {
    color: var(--white) !important;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoomOut 20s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(29, 53, 87, 0.85) 0%, rgba(29, 53, 87, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Booking Widget */
.booking-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    align-items: flex-end;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-field label {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

.booking-field input,
.booking-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-bg);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.booking-field input:focus,
.booking-field select:focus {
    border-color: var(--primary-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Rooms Section */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.room-img .img-placeholder {
    height: 250px;
    border-radius: 0;
}

.room-content {
    padding: 2rem;
}

.room-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.room-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.room-amenities span {
    font-size: 0.875rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-amenities i {
    color: var(--primary-color);
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-bg);
}

.price span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
}

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

/* Animations */
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes zoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-widget {
        grid-template-columns: repeat(2, 1fr);
    }
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .hero h1 { font-size: 2.5rem; }
    
    .nav-actions .nav-res-btn { display: none; }
    .mobile-menu-btn { 
        display: flex !important; /* Görünürlüğü garantile */
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: #fff !important;
        width: 45px;
        height: 45px;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
        z-index: 1100; /* Menünün de üstünde olmalı */
        font-size: 1.25rem;
    }
    
    .logo::before {
        left: -1rem;
        top: -1.2rem;
        height: calc(100% + 2.5rem);
        width: calc(100% + 1.5rem);
    }
    
    .logo-img { height: 45px !important; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: #fff !important;
        font-size: 1.25rem;
        margin: 0;
    }

    .nav-links a::after {
        display: none;
    }
    
    .nav-dropdown { width: 100%; text-align: center; }
    .dropdown-content { position: static; box-shadow: none; display: flex; flex-direction: column; background: transparent; display: none; }
    .nav-dropdown.active .dropdown-content { display: flex; }
    .nav-dropdown.active > a { color: var(--primary-color) !important; }
    
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .scroll-reveal.right { transform: translateY(20px); }
    
    .rooms-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .booking-widget {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}
