/* ============================================================
   Instalatérské potřeby - Petr Diviš — site.css
   Modern dark theme with brand blue accent
   ============================================================ */

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

:root {
    --bg-dark: #ffffff;
    --bg-section: #f2f1ef;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f7f6;
    --accent: #1375bc;
    --accent-hover: #0f5fa0;
    --accent-light: #3e98d4;
    --accent-glow: rgba(19, 117, 188, 0.15);
    --cat-voda: #1375bc;
    --cat-topeni: #c91d23;
    --cat-plyn: #d9a00e;
    --cat-koupelny: #3a8a36;
    --grey-dark: #555656;
    --grey-light: #DAD9D7;
    --text: #555656;
    --text-muted: #777878;
    --text-heading: #333333;
    --border: rgba(85, 86, 86, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(85, 86, 86, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 86, 86, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

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

a:hover {
    color: var(--accent-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ─── LANG SWITCH ───────────────────────────────────────── */
.lang-switch {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 1rem;
}

.lang-switch-item {
    display: inline-block;
    padding: 0.2rem 0.3rem;
    font-size: 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1;
}

.lang-switch-item:hover {
    color: var(--accent);
}

.lang-switch-item.active {
    background: var(--accent);
    color: #fff;
}

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--accent);
}

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

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition);
}

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

.main-nav a:hover {
    color: var(--text-heading);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    color: #fff;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* ─── HERO ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grey-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlide 16s ease-in-out infinite;
}

.hero-bg-1 {
    background-image: url('../images/hero-bg-1.webp');
    animation-delay: 0s;
}

.hero-bg-2 {
    background-image: url('../images/hero-bg-2.png');
    animation-delay: 8s;
}

@keyframes heroSlide {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(85, 86, 86, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.8;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-outline:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-piktogramy {
    display: block;
    margin: 0 auto;
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-feature i {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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


/* ─── SECTIONS ──────────────────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

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

.section-tag {
    display: inline-block;
    color: var(--grey-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}


/* ─── SERVICES ──────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--card-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent, var(--accent)), transparent);
    opacity: 0.6;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* Category color accents for service cards */
.service-card[data-cat="voda"] {
    --card-accent: var(--cat-voda);
}

.service-card[data-cat="topeni"] {
    --card-accent: var(--cat-topeni);
}

.service-card[data-cat="plyn"] {
    --card-accent: var(--cat-plyn);
}

.service-card[data-cat="koupelny"] {
    --card-accent: var(--cat-koupelny);
}

.service-card[data-cat="voda"] .service-card-icon {
    color: var(--cat-voda);
    filter: drop-shadow(0 0 10px rgba(19, 117, 188, 0.35));
}

.service-card[data-cat="topeni"] .service-card-icon {
    color: var(--cat-topeni);
    filter: drop-shadow(0 0 10px rgba(201, 29, 35, 0.35));
}

.service-card[data-cat="plyn"] .service-card-icon {
    color: var(--cat-plyn);
    filter: drop-shadow(0 0 10px rgba(253, 183, 19, 0.35));
}

.service-card[data-cat="koupelny"] .service-card-icon {
    color: var(--cat-koupelny);
    filter: drop-shadow(0 0 10px rgba(69, 165, 64, 0.35));
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.service-card-img {
    width: 100%;
    height: 180px;
    margin: -2rem -2rem 1.5rem -2rem;
    width: calc(100% + 4rem);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

/* date picker - no invert needed in light theme */

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--card-accent, var(--accent));
    margin-top: 0.35em;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.service-price {
    margin-left: auto;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.service-card-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-link:hover {
    color: var(--accent-light);
}

.service-card-btn {
    display: block;
    margin-top: auto;
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.service-list {
    margin-bottom: 1.5rem;
}

.service-card-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #fff;
}


/* ─── BOOKING FORM ──────────────────────────────────────── */
.booking-section {
    background: var(--bg-dark);
}

.booking-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.booking-field--full {
    grid-column: 1 / -1;
}

.booking-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.booking-input,
.booking-select,
.booking-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #ffffff;
}

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

.booking-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555656' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.booking-select option {
    background: #ffffff;
    color: var(--text);
}

.booking-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.booking-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.booking-submit {
    margin-top: 0.5rem;
}


/* ─── ABOUT ─────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
    text-align: left;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* About highlights - opening hours, phone, address */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.about-highlight i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 0.15rem;
}

.about-highlight div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.about-highlight strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
}

.about-highlight span {
    font-size: 0.95rem;
    color: var(--text);
}

.about-highlight a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.about-highlight a:hover {
    color: var(--accent-hover);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.about-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-image-placeholder i {
    color: var(--accent);
    opacity: 0.5;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* ─── BRANDS CAROUSEL ───────────────────────────────────── */
.brands-section {
    padding: 4rem 0 3rem;
    background: var(--bg-section);
    overflow: hidden;
}

.brands-slider {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.brands-slider::before,
.brands-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.brands-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-section), transparent);
}

.brands-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-section), transparent);
}

.brands-track {
    display: flex;
    gap: 2rem;
    animation: brandsScroll 30s linear infinite;
    width: max-content;
}

.brand-item {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    height: 35px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@keyframes brandsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── GALLERY SLIDER ────────────────────────────────────── */
.gallery-strip {
    position: relative;
    width: 100%;
    padding: 3rem 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.gallery-slider {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 12px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-slide {
    flex-shrink: 0;
    width: 360px;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--accent);
    transition: var(--transition);
}

/* Category colors for gallery icons */
.gallery-placeholder[data-cat="voda"] {
    color: var(--cat-voda);
}

.gallery-placeholder[data-cat="topeni"] {
    color: var(--cat-topeni);
}

.gallery-placeholder[data-cat="plyn"] {
    color: var(--cat-plyn);
}

.gallery-placeholder[data-cat="koupelny"] {
    color: var(--cat-koupelny);
}

.gallery-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.gallery-placeholder:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.gallery-placeholder[data-cat="voda"]:hover {
    border-color: rgba(19, 117, 188, 0.4);
}

.gallery-placeholder[data-cat="topeni"]:hover {
    border-color: rgba(201, 29, 35, 0.4);
}

.gallery-placeholder[data-cat="plyn"]:hover {
    border-color: rgba(217, 160, 14, 0.4);
}

.gallery-placeholder[data-cat="koupelny"]:hover {
    border-color: rgba(58, 138, 54, 0.4);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn-prev {
    left: 1.5rem;
}

.gallery-btn-next {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-slide {
        width: 280px;
        height: 170px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ─── NEWSLETTER ────────────────────────────────────────── */
.newsletter-section {
    background: var(--bg-dark);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(8, 145, 178, 0.08) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-content {
    margin-bottom: 2rem;
}

.newsletter-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.newsletter-content h2 i {
    color: var(--accent);
}

.newsletter-content p {
    color: var(--text-muted);
    max-width: 500px;
}

.newsletter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 600px;
    width: 100%;
}

.newsletter-field {
    flex: 1;
    min-width: 200px;
}

.newsletter-field--full {
    flex-basis: 100%;
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
    margin-top: 0.3em;
    accent-color: var(--accent);
}

.newsletter-btn {
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--accent-hover);
}


/* ─── CONTACT ───────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(8, 145, 178, 0.3);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: rgba(255, 255, 255, 0.04);
}

.contact-select option {
    background: var(--bg-card);
    color: var(--text);
}

.contact-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--accent-hover);
}


/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
    background: var(--grey-dark);
    border-top: none;
    padding: 4rem 0 2rem;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--accent-light);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}


/* ─── FLASH MESSAGES ────────────────────────────────────── */
.flash-global {
    max-width: 600px;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    text-align: center;
}

.flash-success {
    background: rgba(19, 117, 188, 0.15);
    color: var(--accent);
    border: 1px solid rgba(19, 117, 188, 0.3);
}

.flash-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.flash-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

#booking-flash .flash-msg,
#contact-flash .flash-msg,
#newsletter-flash .flash-msg {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    animation: fadeInUp 0.4s ease-out;
}

.flash-msg.success {
    background: rgba(19, 117, 188, 0.15);
    color: var(--accent);
    border: 1px solid rgba(19, 117, 188, 0.3);
}

.flash-msg.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.flash-msg.info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}


/* ─── REVEAL ANIMATION ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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


/* ─── SIGN-IN PAGE ──────────────────────────────────────── */
.sign-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.sign-in-page {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
}

.sign-in-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.sign-in-box h1 {
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sign-in-form .form-group {
    margin-bottom: 1rem;
}

.sign-in-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.sign-in-form .form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
}

.sign-in-form .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

.sign-in-back {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.sign-in-back a {
    color: var(--text-muted);
}

.sign-in-back a:hover {
    color: var(--accent);
}

.sign-in-box .flash {
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sign-in-box .flash.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}


/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
    }

    .hamburger {
        display: block;
    }

    .header-cta span {
        display: none;
    }

    .hero-content {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .booking-fields {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-fields {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}