/* assets/css/style.css */

/* ==========================================================================
   DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
    --primary: #1e4646;
    --teal: #1e4646;
    --primary-light: #2d5c5c;
    --primary-dark: #122c2c;
    --secondary: #a07d50;
    --secondary-light: #c5a67c;
    --secondary-dark: #7b5f3a;
    --cream: #f9f8f6;
    --cream-dark: #f0ede9;
    --white: #ffffff;
    --text-dark: #2d3737;
    --text-muted: #5a6e6e;
    --border: #e1e8e8;
    --shadow: 0 10px 30px rgba(30, 70, 70, 0.04);
    --shadow-hover: 0 15px 40px rgba(30, 70, 70, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font Families */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Lora', Georgia, Cambria, "Times New Roman", Times, serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

p, li {
    font-family: var(--font-serif);
    color: var(--text-dark);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item a:hover {
    color: var(--secondary-light);
}

.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-picture {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    height: 60px;
}

.logo-text-top {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: var(--secondary-light);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.logo-text-bottom {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: var(--secondary-light);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 0;
}

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

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

.btn-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-header:hover {
    background-color: var(--secondary);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 5px;
    transition: var(--transition);
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        padding: 20px;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 18px 24px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-header {
        display: inline-block;
        width: 100%;
    }
    
    .top-bar-info {
        display: none;
    }
}

.hero-section {
    /* Lekka nakładka przyciemniająca + responsywne tło WebP (z fallbackiem JPG dla starszych przeglądarek) */
    --hero-overlay: linear-gradient(to bottom, rgba(18, 44, 44, 0.55) 0%, rgba(18, 44, 44, 0.75) 100%);
    background: var(--hero-overlay), url('../images/cabinets/gabinet_hero_hd-1280.jpg') center/cover no-repeat;
    background-image: var(--hero-overlay), image-set(url('../images/cabinets/gabinet_hero_hd-1920.webp') type('image/webp'));
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        background-image: var(--hero-overlay), image-set(url('../images/cabinets/gabinet_hero_hd-768.webp') type('image/webp'));
    }
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    color: var(--secondary-light);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section h2,
.hero-section h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-desc {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-lg {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-section h2,
    .hero-section h1 {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 16px;
    }
}

/* ==========================================================================
   OFFER & CARDS SECTION
   ========================================================================== */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

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

.offer-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.offer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 24px;
    transition: var(--transition);
}

.offer-card:hover .offer-icon {
    background-color: var(--primary);
    color: var(--white);
}

.offer-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.offer-card p {
    color: var(--text-muted);
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 25px;
}

.offer-link {
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.offer-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   ABOUT US & INFO SECTION
   ========================================================================== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p.lead {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-item-icon {
    color: var(--secondary);
    font-size: 18px;
    margin-top: 3px;
}

.feature-item-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--primary);
}

.feature-item-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   CABINET GALLERY WITH LIGHTBOX
   ========================================================================== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(30, 70, 70, 0.1);
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid.active {
    display: grid;
    animation: fadeIn 0.4s ease-in-out;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 70, 70, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-icon {
    color: var(--white);
    font-size: 32px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 44, 44, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 4px solid var(--white);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--secondary-light);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.lightbox-nav:hover {
    color: var(--secondary-light);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 24px;
    }
    .lightbox-prev {
        left: -30px;
    }
    .lightbox-next {
        right: -30px;
    }
}

/* ==========================================================================
   BOOKING SECTION & ENGINE
   ========================================================================== */
.booking-wizard {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(30, 70, 70, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.booking-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-header h3 {
    color: var(--white);
    font-size: 22px;
}

.booking-step-indicator {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-light);
}

.booking-body {
    padding: 40px;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

/* Booking Forms Elements */
.grid-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
}

.booking-select, .booking-input, .booking-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--white);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.booking-select:focus, .booking-input:focus, .booking-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 70, 70, 0.08);
}

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

/* Date and Time slots picker */
.calendar-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .calendar-layout {
        grid-template-columns: 1fr;
    }
}

/* Custom calendar style */
.calendar-container {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background-color: var(--cream);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.calendar-day-name {
    font-weight: 700;
    font-size: 11px;
    color: var(--text-muted);
    padding: 5px 0;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.calendar-day:hover:not(.disabled) {
    background-color: var(--secondary-light);
    color: var(--white);
}

.calendar-day.selected {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Slots list */
.slots-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.slots-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 15px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 10px;
    overflow-y: auto;
    max-height: 250px;
}

.slot-btn {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.slot-btn:hover {
    background-color: var(--secondary-light);
    color: var(--white);
    border-color: var(--secondary-light);
}

.slot-btn.selected {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.no-slots-msg {
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    padding: 20px 0;
}

/* Booking Navigation buttons */
.booking-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

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

.btn-nav-prev {
    background-color: var(--white);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-nav-prev:hover {
    background-color: var(--cream);
    color: var(--primary);
}

.booking-alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.booking-alert-error {
    background-color: #fde8e8;
    color: var(--danger);
    border: 1px solid #fbd5d5;
}

.booking-alert-success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #bcf0da;
}

/* Summary Card */
.summary-card {
    background-color: var(--cream);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(30,70,70,0.05);
    padding-bottom: 8px;
}

.summary-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
}

.summary-value {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

/* =/* ==========================================================================
   LOCATIONS & CONTACT
   ========================================================================== */
.locations-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .locations-split {
        grid-template-columns: 1fr;
    }
}

.location-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.location-info {
    padding: 30px;
}

.location-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.loc-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.loc-icon {
    color: var(--secondary);
    font-size: 18px;
    margin-top: 3px;
}

.loc-text {
    font-size: 14px;
    color: var(--text-dark);
}

.loc-text strong {
    color: var(--primary);
}

.loc-directions-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--cream);
    color: var(--secondary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius);
    margin-left: 30px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .loc-directions-badge {
        margin-left: 0;
        display: flex;
    }
}

/* Embed map container */
.map-container {
    height: 250px;
    background-color: var(--cream-dark);
    position: relative;
}

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

/* Map facade — loads Google Maps only on user interaction (perf: no third-party JS on load) */
.map-facade {
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(30,70,70,0.85), rgba(18,44,44,0.9)),
        repeating-linear-gradient(45deg, #2d5c5c 0 14px, #27514f 14px 28px);
    color: var(--white);
    text-align: center;
}
.map-facade-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(2px);
}
.map-facade-label i { font-size: 16px; color: var(--secondary-light); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-widget p {
    color: #aebaba;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aebaba;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #7b8e8e;
    font-size: 13px;
}

.footer-partner-btn {
    background-color: transparent;
    color: #aebaba;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.footer-partner-btn:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   VALUES & STANDARDS SECTION (SEO PARAGRAPHS)
   ========================================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-card h3 i {
    color: var(--secondary);
    font-size: 20px;
}

.value-card p {
    font-family: var(--font-serif);
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   DROPDOWN NAVIGATION
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-sans) !important;
}

.dropdown-menu li a:hover {
    background-color: var(--cream);
    color: var(--secondary) !important;
    transform: none;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown styles */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 5px 0 10px 20px;
        display: none; /* controlled by JS toggle */
        opacity: 1;
        visibility: visible;
        min-width: 100%;
    }
    .dropdown-menu.active {
        display: block;
    }
    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   TEAM PREVIEW GRID (ON HOMEPAGE)
   ========================================================================== */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-preview-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

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

.team-preview-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.team-preview-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-preview-card:hover .team-preview-img-container img {
    transform: scale(1.05);
}

.team-preview-info {
    padding: 25px;
}

.team-preview-info h4 {
    font-size: 19px;
    margin-bottom: 5px;
    color: var(--primary);
}

.team-preview-role {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.team-preview-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   BLOG PREVIEW GRID
   ========================================================================== */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-preview-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-preview-img {
    height: 200px;
    overflow: hidden;
}

.blog-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-preview-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-preview-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
}

.blog-preview-info h4 {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-preview-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.blog-preview-link:hover {
    color: var(--primary);
}

.blog-preview-link i {
    transition: transform 0.3s ease;
}

.blog-preview-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   HOMEPAGE FAQ ACCORDION
   ========================================================================== */
.home-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.home-faq-details {
    background-color: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.home-faq-details[open] {
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.home-faq-summary {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-faq-summary::-webkit-details-marker {
    display: none;
}

.home-faq-summary i {
    font-size: 14px;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.home-faq-details[open] .home-faq-summary i {
    transform: rotate(180deg);
}

.home-faq-content {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.home-faq-content p {
    margin-bottom: 0;
}

/* ==========================================================================
   BOOKING SYSTEM MODAL STYLES
   ========================================================================== */

/* Modal Backdrop Overlay */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 44, 44, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 20px;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Modal Content Box */
.booking-modal-box {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(18, 44, 44, 0.15);
    border: 1px solid var(--border);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Close button */
.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.booking-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Modal Titles */
.booking-modal-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.booking-modal-subtitle {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Choice Cards Layout */
.booking-choice-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.booking-choice-card {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.booking-choice-card:hover {
    background: var(--white);
    border-color: var(--secondary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.booking-choice-card.highlight {
    background: #fdfaf5;
    border-color: var(--secondary-light);
}

.booking-choice-card.highlight:hover {
    background: var(--white);
}

.booking-choice-card .choice-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.booking-choice-card.highlight .choice-icon {
    color: var(--primary);
}

.booking-choice-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.booking-choice-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Choice Button */
.choice-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13.5px;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    text-decoration: none;
}

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

.booking-choice-card.highlight .choice-btn {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.booking-choice-card.highlight .choice-btn:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Step Transitions */
.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Fields & Inputs */
.booking-select, .booking-input, .booking-textarea {
    font-family: var(--font-sans);
    font-size: 14.5px;
    color: var(--text-dark);
    border: 1px solid var(--cream-dark);
    background-color: var(--cream);
    transition: var(--transition);
}

.booking-select:focus, .booking-input:focus, .booking-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 70, 70, 0.1);
}

/* Calendar styling */
.calendar-day-name {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--primary);
    padding: 8px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.calendar-day:hover:not(.disabled) {
    background-color: var(--secondary-light);
    color: var(--white);
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.selected {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 700;
}

.calendar-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    color: var(--primary);
}

.calendar-nav-btn:hover {
    background-color: var(--cream-dark);
}

/* Time slots styling */
.slot-btn {
    border: 1px solid var(--cream-dark);
    background-color: var(--cream);
    padding: 8px 10px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background-color: var(--white);
}

.slot-btn.selected {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

/* Alerts */
.booking-alert {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.5;
}

.booking-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.booking-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #166534;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .booking-modal-box {
        padding: 25px;
    }
    
    .booking-choice-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DYNAMIC TEAM GRID STYLES
   ========================================================================== */
.team-member-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(30, 70, 70, 0.15) !important;
    border-color: var(--secondary-light) !important;
}

.team-member-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.team-member-card:hover img {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   PRICING LAYOUT (CENNIK)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 28px;
    margin-top: 8px;
}

.price-group {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.price-group:hover { 
    box-shadow: var(--shadow-hover); 
    border-color: var(--secondary-light); 
}

.price-group-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.price-group-head i {
    width: 46px; height: 46px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--cream);
    color: var(--primary);
    font-size: 18px;
}

.price-group-head h3 { font-size: 20px; margin: 0; }

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--border);
}
.price-row:last-child { border-bottom: none; }

.price-row .price-name {
    font-family: var(--font-serif);
    font-size: 15.5px;
    color: var(--text-dark);
}
.price-row .price-name small {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
}
.price-row .price-amount {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    white-space: nowrap;
}

.price-note {
    margin-top: 36px;
    background: var(--cream);
    border-left: 4px solid var(--secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 22px 26px;
    font-family: var(--font-serif);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 760px;
}

/* Card booking buttons on subpages */
.card-booking-btn-outline {
    flex: 1;
    text-align: center;
    font-size: 11.5px;
    padding: 6px 8px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--teal);
    color: var(--teal);
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
    box-shadow: none;
}
.card-booking-btn-outline:hover {
    background-color: var(--teal);
    color: var(--white);
}

.card-booking-btn-filled {
    flex: 1;
    text-align: center;
    font-size: 11.5px;
    padding: 6px 8px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--teal);
    color: var(--white);
    background-color: var(--teal);
    white-space: nowrap;
    transition: opacity 0.2s, background-color 0.2s;
    cursor: pointer;
    box-shadow: none;
}
.card-booking-btn-filled:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

/* Calendar highlighting for days with slots */
.calendar-day.has-slots {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    font-weight: 600;
}
.calendar-day.has-slots:hover:not(.disabled) {
    background-color: #a7f3d0 !important;
    color: #064e3b !important;
}
.calendar-day.selected.has-slots {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

