/* ==========================================================================
   JUST HAIR - PREMIUM WEBSITE STYLESHEET
   Curated Color Palette: Deep Sage Teal (#477d78), Soft Rose Pink (#ffd3db), Light Sage (#bacfc1)
   Designed with passion for excellent craftsmanship.
   ========================================================================== */

/* 1. DESIGN SYSTEM VARIABLES */
:root {
    /* Brand Colors */
    --primary: #477d78;
    --primary-light: #5f9994;
    --primary-dark: #335d59;
    --accent: #ffd3db;
    --accent-light: #fff0f2;
    --accent-dark: #fca7b5;
    --secondary: #bacfc1;
    --secondary-light: #d6e5db;
    --secondary-dark: #8ba292;
    
    /* Neutral Palette */
    --bg-body: #fafbf9;       /* Premium Warm Off-White Cream */
    --bg-card: #ffffff;
    --text-dark: #1f3533;     /* Highly readable teal-tinted near-black */
    --text-muted: #5e7a77;
    --text-light: #ffffff;
    
    /* Layout Tokens */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 4px 12px rgba(71, 125, 120, 0.05);
    --shadow-md: 0 12px 30px rgba(71, 125, 120, 0.08);
    --shadow-lg: 0 20px 50px rgba(71, 125, 120, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Structural Height */
    --header-height: 80px;
}

/* 2. CORE BASE RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* High standard baseline size */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem; /* ~17px for highly comfortable reading */
    line-height: 1.65;
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Core headings and typographic scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }
strong { font-weight: 600; color: var(--primary-dark); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* Common Helper Sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* 3. BUTTONS & INTERACTIVE ELEMENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(71, 125, 120, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(71, 125, 120, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255, 211, 219, 0.35);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 211, 219, 0.5);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-actions {
    margin-top: 2rem;
}

/* 4. STICKY GLASSMORPHIC NAVIGATION BAR */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(71, 125, 120, 0.95); /* Deep Sage background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design */
.brand-logo {
    display: flex;
    aria-label: "JustHair Brand Home Link";
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.9);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent); /* Rose Pink brand text */
    letter-spacing: 0.5px;
}

/* Nav Menu */
.navigation-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--secondary-light); /* Soft light sage links */
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent); /* Rose Pink underline */
    transition: var(--transition);
}

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

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

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    height: 2px;
}

/* Nav Controls Area */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Dynamic Live Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 170px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.badge-open .badge-dot {
    background-color: #2ecc71;
    box-shadow: 0 0 10px #2ecc71, 0 0 20px #2ecc71;
    animation: badge-pulse 2s infinite;
}

.badge-closed .badge-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
}

.badge-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.week-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--secondary-light);
    margin-left: 0.25rem;
}

.badge-time-text {
    font-size: 0.75rem;
    color: var(--secondary-light);
}

/* Pulse animation for active badge */
@keyframes badge-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Language Toggle Button */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: var(--secondary);
    color: var(--primary-dark) !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid transparent;
}

.lang-toggle-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Custom Vector SVG-based Flag icons to load instantly without HTTP network delays and render perfectly sharp */
.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.flag-da {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 370 280'%3E%3Crect width='370' height='280' fill='%23c8102e'/%3E%3Cpath d='M120,0 v280 M0,120 h370' stroke='%23fff' stroke-width='40'/%3E%3C/svg%3E");
}

.flag-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23da291c' stroke-width='2'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23da291c' stroke-width='6'/%3E%3C/svg%3E");
}

/* Nav Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    z-index: 1100;
}

.nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

/* Active hamburger states */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile responsive menu */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }
    
    .navigation-bar {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(71, 125, 120, 0.98); /* Heavy solid sage backdrop */
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 1.5rem;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .navigation-bar.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.35rem;
    }
    
    .nav-controls {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 1.5rem;
    }
    
    .status-badge {
        width: 100%;
        justify-content: center;
    }
    
    .lang-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Offset page content since navigation is fixed */
.page-content {
    margin-top: var(--header-height);
    min-height: 60vh;
}

/* 5. DYNAMIC GRAPHIC HERO & LANDING SECTIONS */
.hero-section {
    position: relative;
    background-color: var(--primary); /* Deep Sage teal base */
    background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 8rem 0 6rem 0;
    overflow: hidden;
}

/* Beautiful background decorations */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 211, 219, 0.08) 0%, rgba(255, 211, 219, 0) 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--accent); /* Headings in Rose Pink */
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    color: var(--secondary-light);
    margin-bottom: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

.script-accent {
    font-family: 'Pinyon Script', cursive, serif;
    color: var(--accent); /* Soft Rose Pink */
    text-transform: none; /* Do not uppercase the script text! */
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.5;
    display: inline-block;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    vertical-align: middle;
    margin-top: -0.25rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--secondary-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-accent {
    color: var(--accent) !important;
    font-weight: 700;
    text-shadow: 0 0 1px rgba(255, 211, 219, 0.2);
}

.hero-media {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 211, 219, 0.25);
    background-color: var(--primary-dark);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-tag {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.hero-tag-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.hero-tag-sub {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 2px;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-tag {
        bottom: 20px;
        left: 20px;
    }
}

/* Feature Cards Grid (Home Page) */
.features-section {
    background-color: var(--bg-body);
}

.features-title-box {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(71, 125, 120, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(71, 125, 120, 0.1);
}

.feature-card:hover::before {
    width: 12px;
    background-color: var(--accent-dark);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

/* 6. TREATMENTS & PRICING SHEET SYSTEM */
.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.booking-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    border: 1.5px solid var(--accent);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    transition: var(--transition);
}

.booking-strip:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.booking-strip-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.booking-strip-icon {
    font-size: 1.4rem;
}

/* Prices Component Catalog */
.prices-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.price-category-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(71, 125, 120, 0.08);
    overflow: hidden;
}

.category-header {
    background-color: var(--primary); /* Deep Sage */
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.category-header h2 {
    color: var(--accent); /* Headings inside categories are rose pink */
    margin: 0;
}

.category-table {
    width: 100%;
    border-collapse: collapse;
}

.category-table tr {
    transition: var(--transition);
}

.category-table tr:hover {
    background-color: var(--bg-body);
}

.category-table td {
    padding: 1.5rem 2rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(71, 125, 120, 0.06);
}

.category-table tr:last-child td {
    border-bottom: none;
}

.service-title-col {
    width: 75%;
}

.service-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.service-price-col {
    width: 25%;
    text-align: right;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
    white-space: nowrap;
}

/* Connective dot elements inside catalog for premium typography */
.service-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

.service-item-connector {
    flex-grow: 1;
    border-bottom: 2.5px dotted var(--secondary); /* Sage dots link name to price */
    margin: 0 1rem;
    height: 1px;
}

@media (max-width: 576px) {
    .category-table td {
        padding: 1rem 1.25rem;
    }
    
    .service-name {
        font-size: 1rem;
    }
}

/* Coloring Information Panel */
.color-info-panel {
    background-color: var(--accent-light);
    border: 2px dashed var(--accent);
    padding: 3rem;
    border-radius: var(--radius-md);
    margin-top: 5rem;
}

.color-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.color-info-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--accent);
}

.color-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin: 1.5rem 0;
    list-style-type: square;
    padding-left: 1.25rem;
}

.color-list li {
    font-weight: 500;
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .color-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .color-info-panel {
        padding: 2rem 1.5rem;
    }
}

/* 7. ABOUT US LAYOUTS */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--secondary-light);
}

.about-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-img {
        height: 420px;
    }
}

/* 8. BOOKING PAGE CTA SECTIONS */
.booking-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(71, 125, 120, 0.08);
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.booking-card h2 {
    margin-bottom: 1rem;
}

.booking-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.booking-steps {
    text-align: left;
    background-color: var(--bg-body);
    border: 1px solid var(--secondary-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.booking-steps h3 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.steps-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-weight: 500;
    color: var(--text-dark);
}

.booking-phone-alt {
    margin-top: 3rem;
    font-size: 1.1rem;
    border-top: 1px solid var(--secondary-light);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .booking-card {
        padding: 2.5rem 1.5rem;
    }
    
    .booking-steps {
        padding: 1.5rem 1.25rem;
    }
}

/* 9. SECURED CONTACT FORM & INFO */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-header {
    margin-bottom: 1.5rem;
}

.contact-header h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Details & Opening Times */
.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-cards-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.info-small-card {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(71, 125, 120, 0.05);
}

.info-small-card h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-small-card p, .info-small-card a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0;
}

/* Map frame wrap */
.map-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(71, 125, 120, 0.06);
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.map-transit-info {
    padding: 1.5rem 2rem;
    background-color: var(--bg-body);
    border-top: 1px solid var(--secondary-light);
}

/* Opening hours table */
.hours-panel {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(71, 125, 120, 0.08);
    overflow: hidden;
}

.hours-panel-header {
    background-color: var(--primary);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.hours-panel-header h3 {
    color: var(--accent);
    margin-bottom: 0;
}

.hours-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--secondary-light);
}

.hours-col {
    padding: 2rem;
}

.hours-col:first-child {
    border-right: 1px solid var(--secondary-light);
}

.hours-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.25rem;
    color: var(--primary-dark);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.hours-day {
    font-weight: 500;
}

.hours-time {
    font-weight: 600;
    color: var(--primary-dark);
}

.hours-panel-footer {
    padding: 1.25rem 2rem;
    background-color: var(--bg-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Styling - Hacker-Proof Shield Contact */
.contact-form-panel {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1.5px solid rgba(71, 125, 120, 0.08);
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-body);
    border: 1.5px solid var(--secondary-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(71, 125, 120, 0.1);
}

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

/* Honey-pot Spam Protection Hidden Fields */
.spamtrap-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.form-security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.security-badge-icon {
    color: #2ecc71;
    font-size: 1rem;
}

/* Alert Boxes */
.alert-box {
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background-color: #e8f8f5;
    border: 1px solid #a3e4d7;
    color: #117a65;
}

.alert-error {
    background-color: #fdf2f2;
    border: 1px solid #fde2e2;
    color: #c81e1e;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-header {
        text-align: center;
    }
    
    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .hours-split-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--secondary-light);
    }
    
    .contact-form-panel {
        padding: 2rem 1.25rem;
    }
}

/* 10. PREMIUM HARMONIOUS FOOTER */
.main-footer {
    background-color: var(--primary-dark); /* Dark solid teal footer */
    color: var(--secondary-light);
    padding: 5rem 0 3rem 0;
    border-top: 3px solid var(--accent); /* Rose Pink top band */
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background-color: white;
    padding: 1px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-bio {
    font-size: 0.95rem;
    color: var(--secondary-light);
    opacity: 0.85;
}

.footer-heading {
    color: var(--accent); /* Heading inside footer is rose pink */
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--secondary-light);
    font-size: 0.95rem;
}

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

.footer-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Matches .footer-links spacing perfectly */
    text-align: left; /* Resolves centered layout issues */
    align-items: flex-start; /* Forces flex child elements left */
}

.footer-details li {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.footer-details a {
    color: var(--secondary-light);
    transition: var(--transition);
}

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

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

.copyright-text {
    margin-bottom: 0;
}

.designer-attribution {
    margin-bottom: 0;
    color: var(--secondary-light);
}

.designer-attribution a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}

.designer-attribution a:hover {
    color: var(--text-light);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--secondary-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 219, 0.3);
}

.social-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.social-btn-contact:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(71, 125, 120, 0.15);
}

.slogan-graphic:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md) !important;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
