/* ============================================
   KIRBIYIK APART OTEL
   Premium Boutique Hotel Design
   Clean • Elegant • Side, Antalya
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

/* === DESIGN TOKENS === */
:root {
    /* Colors */
    --midnight: #1a2a3a;
    --ocean: #2c5f6e;
    --ocean-light: #4a8a9a;
    --sand: #c9b896;
    --sand-light: #e8dcc8;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #eaeaea;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-800: #333333;

    /* Typography */
    --font-display: 'Marcellus', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-2xl: 100px;

    /* Other */
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--midnight);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--gray-600);
    max-width: 65ch;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 800px;
}

.container-lg {
    max-width: 1400px;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    width: 75px;
    height: 75px;
    border-radius: var(--radius);
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--midnight);
}

.logo-text span {
    display: inline;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ocean);
    margin-left: 6px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--midnight);
}

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

.nav-contact {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--midnight);
}

.nav-phone i {
    color: var(--ocean);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--midnight);
    transition: var(--transition);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--midnight);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--sand);
    color: var(--midnight);
}

.btn-secondary:hover {
    background: var(--sand-light);
}

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

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

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

.btn-white:hover {
    background: var(--cream);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.9rem;
}

/* === SECTIONS === */
.section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-600);
}

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 42, 58, 0.4) 0%,
            rgba(26, 42, 58, 0.6) 100%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: var(--space-md);
    max-width: 800px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--sand);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* === FEATURES === */
.features {
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: var(--ocean);
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 50%;
}

.feature-card h4 {
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* === ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--ocean);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .number {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.about-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-label {
    text-align: left;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-md);
}

.about-list {
    margin: var(--space-lg) 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.about-list li i {
    color: var(--ocean);
}

/* === ROOMS === */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.room-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.room-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.room-content {
    padding: var(--space-lg);
}

.room-content h3 {
    margin-bottom: var(--space-sm);
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.room-features span i {
    color: var(--ocean);
    font-size: 0.8rem;
}

/* === GALLERY === */
.gallery {
    background: var(--midnight);
}

.gallery .section-label,
.gallery .section-title,
.gallery .section-desc {
    color: var(--white);
}

.gallery .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 58, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* === CTA === */
.cta {
    position: relative;
    padding: var(--space-2xl) 0;
    background: url('../public/143_b.jpg') center/cover fixed;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 58, 0.85);
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

/* === FOOTER === */
.footer {
    background: var(--midnight);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-text span {
    color: var(--sand);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

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

.footer-social a:hover {
    background: var(--ocean);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--sand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === WHATSAPP === */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

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

/* === PAGE HEADER === */
.page-header {
    padding: 160px 0 80px;
    background: var(--cream);
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--gray-600);
}

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

.breadcrumb span {
    color: var(--gray-400);
}

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: var(--space-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--midnight);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-menu-nav {
    margin-top: var(--space-xl);
}

.mobile-menu-nav li {
    margin-bottom: var(--space-md);
}

.mobile-menu-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--midnight);
}

.mobile-menu-nav a:hover {
    color: var(--ocean);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--cream);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.contact-info-card i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocean);
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 5px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--ocean);
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {

    .nav-menu,
    .nav-contact {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 40px;
        --space-2xl: 60px;
    }

    .hero {
        height: 90vh;
        margin-top: 70px;
    }

    .header-inner {
        height: 70px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .gallery-item,
    .gallery-item:first-child {
        grid-column: span 1;
        height: 200px;
    }
}