/* ===================================
   GLOBAL STYLES & TYPOGRAPHY
   =================================== */

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ===================================
   BACKGROUND BLOBS
   =================================== */

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #c8956c;
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #a67c52;
    bottom: 10%;
    left: -150px;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: #3d2a15;
    top: 40%;
    right: 10%;
}

.blob-4 {
    width: 550px;
    height: 550px;
    background: #c8956c;
    bottom: -200px;
    right: 20%;
}

/* ===================================
   HERO SECTION
   =================================== */

#hero {
    position: relative;
    z-index: 1;
}

.hero-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, rgba(13, 9, 6, 0.55), rgba(26, 18, 10, 0.4), rgba(13, 9, 6, 0.7)),
        url('../images/hero-bg.avif') center/cover no-repeat;
    z-index: 0;
}

#about,
#portfolio,
#services,
#hours,
#contact,
footer {
    position: relative;
    z-index: 2;
    background-color: #0f0b07;
}

.hero-headline {
    text-shadow: 0 0 60px rgba(200, 149, 108, 0.3);
    letter-spacing: -0.02em;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-word:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-word:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subheadline {
    opacity: 0;
    animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* CTA Button Pulse Animation */
.cta-button {
    position: relative;
    box-shadow: 0 0 20px rgba(200, 149, 108, 0.35);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(200, 149, 108, 0.35);
    }
    50% {
        box-shadow: 0 0 35px rgba(200, 149, 108, 0.55), 0 0 50px rgba(166, 124, 82, 0.3);
    }
}

/* ===================================
   SECTION FADE-IN ANIMATIONS
   =================================== */

.section-fade {
    opacity: 1;
    transform: none;
}

.section-fade.visible {
    opacity: 1;
    transform: none;
}

/* ===================================
   SECTION HEADINGS
   =================================== */

.section-heading {
    letter-spacing: -0.01em;
}

/* ===================================
   ABOUT SECTION
   =================================== */

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13, 9, 6, 0.82), rgba(26, 18, 10, 0.7), rgba(42, 28, 18, 0.85)),
        url('../images/about-bg.avif') center/cover no-repeat;
    z-index: 0;
}

#about > .container {
    position: relative;
    z-index: 1;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 149, 108, 0.4);
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(200, 149, 108, 0.15);
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

#portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(13, 9, 6, 0.85), rgba(26, 18, 10, 0.75), rgba(13, 9, 6, 0.88)),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

#portfolio > .container {
    position: relative;
    z-index: 1;
}

/* Portfolio Grid Layout */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portfolio-row {
    display: flex;
    gap: 12px;
    min-height: 300px;
}

.portfolio-row-3 {
    min-height: 260px;
}

.portfolio-col-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.portfolio-large {
    flex: 1.618;
    aspect-ratio: auto;
    min-height: 100%;
}

.portfolio-small {
    flex: 1;
    aspect-ratio: auto;
}

.portfolio-third {
    flex: 1;
    aspect-ratio: auto;
}

.portfolio-banner {
    flex: 1;
    aspect-ratio: 3 / 1;
}

/* Portfolio Item Base */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: rgba(255, 255, 255, 0.06);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.portfolio-image.is-loaded {
    opacity: 1;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 149, 108, 0.25), rgba(166, 124, 82, 0.25));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-item:hover {
    border-color: rgba(200, 149, 108, 0.5);
    box-shadow: 0 0 25px rgba(200, 149, 108, 0.25);
}

/* Portfolio Responsive */
@media (max-width: 640px) {
    .portfolio-row {
        flex-direction: column;
        min-height: auto;
    }

    .portfolio-row-3 {
        min-height: auto;
    }

    .portfolio-large,
    .portfolio-small,
    .portfolio-third,
    .portfolio-banner {
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }
}

/* ===================================
   SERVICES SECTION BACKGROUND
   =================================== */

#services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(13, 9, 6, 0.8), rgba(26, 18, 10, 0.7), rgba(13, 9, 6, 0.85)),
        url('../images/services-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

#services > .container {
    position: relative;
    z-index: 1;
}

/* ===================================
   SERVICE CARDS
   =================================== */

.service-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 149, 108, 0.5);
    box-shadow: 0 0 25px rgba(200, 149, 108, 0.2);
}

.price-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #c8956c, #a67c52);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ===================================
   OPENING HOURS
   =================================== */

#hours::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13, 9, 6, 0.88), rgba(26, 18, 10, 0.8), rgba(42, 28, 18, 0.9)),
        url('../images/about-bg.avif') center/cover no-repeat;
    z-index: 0;
}

#hours > .container {
    position: relative;
    z-index: 1;
}

.hours-table {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hours-row.late-night {
    background: rgba(200, 149, 108, 0.08);
}

.hours-row.closed {
    opacity: 0.6;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(13, 9, 6, 0.82), rgba(26, 18, 10, 0.72), rgba(13, 9, 6, 0.88)),
        url('../images/contact-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

#contact > .container {
    position: relative;
    z-index: 1;
}

/* ===================================
   MAP
   =================================== */

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(0.4) sepia(0.3) brightness(0.7) contrast(1.1);
    transition: filter 0.4s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0) sepia(0) brightness(0.85) contrast(1.05);
}

/* ===================================
   BOOKING FORM
   =================================== */

.booking-form-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #c8956c;
    box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.form-input option {
    background: #0d0906;
    color: #ffffff;
}

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

.submit-button {
    width: 100%;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #c8956c, #a67c52);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(200, 149, 108, 0.3);
}

.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(200, 149, 108, 0.5);
}

/* ===================================
   SMOOTH SCROLL
   =================================== */

html {
    scroll-behavior: smooth;
}

/* ===================================
   HOW IT WORKS STEPS
   =================================== */

.how-step {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.how-step:hover {
    border-color: rgba(200, 149, 108, 0.4);
    box-shadow: 0 0 20px rgba(200, 149, 108, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8956c, #a67c52);
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

#cookie-banner {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .hero-headline {
        font-size: 40px;
    }

    .section-heading {
        font-size: 36px;
    }

    .blob {
        display: none;
    }

    .hours-row {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .nav-cta {
        padding: 8px 16px;
        font-size: 12px;
    }
}
