/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #1A365D;       /* Deep Sea Blue */
    --clr-primary-light: #2B6CB0; /* Ocean Blue */
    --clr-accent: #D97706;        /* Sunset Orange */
    --clr-accent-light: #F59E0B;  /* Golden Amber */
    
    --clr-text-main: #2D3748;     /* Dark Slate */
    --clr-text-muted: #718096;    /* Gray */
    --clr-text-light: #F7FAFC;    /* Off White */
    
    --clr-bg-main: #FAFBFC;       /* Very Light Blue/Gray */
    --clr-bg-card: #FFFFFF;       /* White */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-text-light);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 1.5px solid var(--clr-primary);
    padding: 0.6rem 1.2rem;
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-text-light);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: color var(--transition-normal);
}

.navbar.scrolled .logo-text {
    color: var(--clr-primary);
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-light);
    font-weight: 500;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    transition: color var(--transition-normal);
}

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

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

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

.navbar.scrolled .nav-links a:hover {
    color: var(--clr-accent);
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--clr-primary);
}

/* Navbar Buttons Adjustments */
.navbar .btn-outline {
    color: var(--clr-text-light);
    border-color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}
.navbar .btn-outline:hover {
    background: var(--clr-text-light);
    color: var(--clr-primary);
}
.navbar.scrolled .btn-outline {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    background: transparent;
}
.navbar.scrolled .btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-text-light);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0 2rem;
    background-color: var(--clr-primary); /* Fallback */
    background-image: url('images/amasra-plaji-62627.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--clr-text-light);
    animation: fadeInUp 1s ease forwards;
}

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.hero .title {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .highlight {
    color: var(--clr-accent-light);
    font-style: italic;
}

.hero .description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

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

/* ==========================================================================
   LAYOUT & UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #F7FAFC; /* A slightly darker off-white for contrast */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--clr-accent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--clr-accent);
    font-size: 1.5rem;
}

.about-image {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #E2E8F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-weight: 500;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.05) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

/* ==========================================================================
   ROOMS SECTION
   ========================================================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--clr-bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.room-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.room-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.room-info p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.room-amenities {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--clr-primary);
    font-size: 1.5rem;
}

.room-footer {
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   AMENITIES SECTION
   ========================================================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--clr-bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.amenity-item i {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.amenity-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.amenity-item p {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 300px;
    cursor: pointer;
}

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

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

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--clr-accent);
    margin-top: 0.2rem;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a:hover {
    color: var(--clr-accent);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--clr-bg-card);
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    padding: 5rem 0 0 0;
}

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

.footer-brand .logo-text {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 300px;
}

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

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

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

.footer-links h4 {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--clr-accent-light);
}

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

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobil Menü */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background-color: var(--clr-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6);
        z-index: 1000;
        backdrop-filter: blur(3px);
    }

    .menu-overlay.active {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .nav-actions .btn-outline {
        display: none;
    }
    
    /* Responsive Metin ve Boşluklar */
    .hero .title {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Lightbox Okları Mobilde Küçültme */
    .lightbox-prev, .lightbox-next {
        font-size: 20px;
        padding: 10px;
        margin-top: -30px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--clr-accent);
    text-decoration: none;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

@media (hover: hover) {
    .lightbox-trigger:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0 3px 3px 0;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--clr-accent);
}

/* ==========================================================================
   MOBILE CALL BUTTON
   ========================================================================== */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--clr-accent);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.mobile-call-btn:hover {
    transform: scale(1.1);
    color: white;
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
    }
}
