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

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
    /* Brand Colors */
    --color-coffee: #b38867;
    --color-latte: #ddbc95;
    --color-ceramic: #cdcdc0;
    --color-slate: #626d71;

    /* Supporting Colors */
    --color-background: #0B0B0B;
    --color-surface: #121212;
    --color-surface-light: #171717;
    --color-white: #F7F4EF;
    --color-muted: #B7B4AD;
    --color-error: #e74c3c;
    --color-success: #27ae60;

    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --font-size-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --font-size-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(179, 136, 103, 0.3);

    /* Borders */
    --border-sm: 1px solid var(--color-slate);
    --border-coffee: 1px solid var(--color-coffee);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
}

/* ============================================
   GLOBAL
   ============================================ */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-white);
    background-color: var(--color-background);
    line-height: 1.7;
}

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

a:hover {
    color: var(--color-coffee);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-muted);
}

.text-coffee {
    color: var(--color-coffee);
}

.text-latte {
    color: var(--color-latte);
}

.text-ceramic {
    color: var(--color-ceramic);
}

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

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

.container-sm {
    max-width: var(--container-md);
}

.container-lg {
    max-width: var(--container-2xl);
}

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

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

.grid {
    display: grid;
    gap: var(--space-lg);
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flex {
    display: flex;
    gap: var(--space-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: var(--border-sm);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
}

.logo img {
    height: 40px;
    width: auto;
}

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

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

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--color-muted);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.header-contact {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-xs);
}

.header-contact a {
    color: var(--color-muted);
    text-decoration: none;
}

.header-contact a:hover {
    color: var(--color-latte);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-latte);
    transition: var(--transition-base);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    padding: var(--space-xl);
    transform: translateY(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
    border-bottom: var(--border-coffee);
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    text-decoration: none;
    display: block;
    padding: var(--space-sm) 0;
}

.mobile-nav-link:hover {
    color: var(--color-latte);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

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

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

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

.btn-secondary:hover {
    background-color: var(--color-coffee);
    color: var(--color-white);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 11, 11, 0.7), rgba(11, 11, 11, 0.8)),
                url('/images/hero-hotel.jpg') center/cover no-repeat;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(179, 136, 103, 0.2);
    color: var(--color-latte);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
    border: var(--border-coffee);
}

.hero h1 {
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    color: var(--color-latte);
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: var(--font-size-lg);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-coffee), var(--color-latte));
    margin: 0 auto var(--space-md);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-latte);
}

.card p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(179, 136, 103, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-latte);
}

/* ============================================
   SERVICES
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: var(--border-sm);
    transition: border-color var(--transition-fast);
}

.service-card:hover {
    border-color: var(--color-coffee);
}

.service-card h3 {
    color: var(--color-latte);
    margin-bottom: var(--space-md);
}

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

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: var(--border-coffee);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.quote-block {
    background-color: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--color-coffee);
    margin: var(--space-xl) 0;
}

.quote-block p {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--color-white);
}

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

.contact-info-card {
    background-color: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-lg);
}

.contact-info-card h3 {
    color: var(--color-latte);
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-coffee);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-messenger {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.messenger-card {
    flex: 1;
    background-color: var(--color-surface-light);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: background-color var(--transition-fast);
}

.messenger-card:hover {
    background-color: var(--color-surface);
}

.messenger-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
}

.messenger-card.viber svg {
    fill: #7360f2;
}

.messenger-card.whatsapp svg {
    fill: #25D366;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
    font-size: var(--font-size-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-surface-light);
    border: var(--border-sm);
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

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

.form-input.error,
.form-textarea.error {
    border-color: var(--color-error);
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-xs);
    margin-top: var(--space-xs);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

.form-success {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--color-success);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    margin-top: var(--space-md);
    border: 1px solid var(--color-success);
}

/* ============================================
   MAP
   ============================================ */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-top: var(--space-xl);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-surface);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: var(--border-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: var(--font-size-sm);
}

.footer-section h4 {
    color: var(--color-latte);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section a {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-section a:hover {
    color: var(--color-latte);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-muted);
}

.footer-social a:hover svg {
    fill: var(--color-white);
}

.footer-bottom {
    border-top: var(--border-sm);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: var(--font-size-xs);
    margin-bottom: 0;
}

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

.footer-nav a {
    font-size: var(--font-size-xs);
    color: var(--color-muted);
}

.footer-nav a:hover {
    color: var(--color-latte);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

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

.info-panel {
    background-color: rgba(179, 136, 103, 0.1);
    border: var(--border-coffee);
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.info-panel h3 {
    color: var(--color-latte);
    margin-bottom: var(--space-md);
}

.info-panel p {
    color: var(--color-white);
    margin-bottom: 0;
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-coffee);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.process-content h3 {
    color: var(--color-latte);
    margin-bottom: var(--space-sm);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav,
    .header-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .section-header h2 {
        font-size: var(--font-size-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-messenger {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero h1 {
        font-size: var(--font-size-2xl);
    }

    .hero p {
        font-size: var(--font-size-base);
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
    }

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--color-coffee);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}