/* ==========================================
   Smart Repair - CSS Design System & Layout
   ========================================== */

/* --- Custom Properties & Tokens --- */
:root {
    /* Color Palette */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: rgba(37, 99, 235, 0.15);
    
    --bg-dark: #0F172A;
    --bg-card-dark: #1E293B;
    --bg-light: #F8FAFC;
    --bg-card-light: #FFFFFF;
    
    --text-dark: #111827; /* Black color token for typography */
    --text-light: #F8FAFC;
    --text-muted-dark: #64748B;
    --text-muted-light: #94A3B8;
    
    --border-light: #E5E7EB; /* Light Gray token */
    --border-dark: #334155;
    
    --black: #111827;
    --light-gray: #E5E7EB;
    
    --success: #10B981;
    --error: #EF4444;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-circle: 50%;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* --- Reusable Components --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.03);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.loader-logo .logo-icon {
    font-size: 2.5rem;
    animation: rotateWrench 2s ease-in-out infinite;
}

.loader-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-light);
}

.loader-logo .logo-text span {
    color: var(--primary);
}

.loader-bar {
    width: 200px;
    height: 4px;
    background-color: var(--border-dark);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 10px;
    animation: loadingBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rotateWrench {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-30deg); }
}

@keyframes loadingBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 40px; /* Modified to sit below the announcement bar */
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.header.scrolled {
    top: 0; /* Slides up to cover announcement space */
    padding: 10px 0;
    background-color: rgba(248, 250, 252, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.header.scrolled .navbar-container {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-details {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Nav Links */
.nav-desktop ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition-fast);
}

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

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

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

/* Mobile Navigation Dropdown */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-card-light);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
    z-index: 99;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

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

.btn-mobile-book {
    margin-top: 24px;
    text-align: center;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.hero-section h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-section p {
    color: var(--text-muted-light);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-secondary {
    color: var(--text-light);
    border-color: var(--border-dark);
}

.hero-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
}

.badge {
    background-color: var(--primary-light);
    color: #60A5FA;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image & Layout Mockup */
.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--border-dark);
}

.hero-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

/* Mini Floating Cards */
.floating-card {
    position: absolute;
    background-color: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-dark);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: floatingUpDown 6s ease-in-out infinite;
}

.floating-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    display: block;
}

.stat-card-1 {
    bottom: -20px;
    left: -20px;
}

.stat-card-2 {
    top: -20px;
    right: -20px;
    animation-delay: -3s;
}

@keyframes floatingUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Background Glowing Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: var(--radius-circle);
    filter: blur(100px);
    opacity: 0.15;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    top: -100px;
    right: 10%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background-color: #3B82F6;
    bottom: -50px;
    left: 5%;
}

.hero-container > * {
    position: relative;
    z-index: 1;
}

/* --- About Section --- */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-box {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
    background-color: var(--bg-card-light);
}

.expert-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.expert-years {
    display: block;
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.expert-text {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-grid-item {
    background-color: var(--bg-light);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.about-grid-item:hover {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.about-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto 16px;
    display: block;
}

.about-grid-item span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted-dark);
    margin-bottom: 30px;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bullet-item {
    display: flex;
    gap: 20px;
}

.bullet-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.bullet-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.bullet-item p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

/* --- Why Choose Us Section --- */
.why-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--bg-card-light);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.bg-blue-light {
    background-color: var(--primary-light);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background-color: var(--bg-dark);
}

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

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

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    margin-top: auto;
}

.service-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-service {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* --- Accessories Shop Section --- */
.shop-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 700;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.btn-product {
    margin-top: auto;
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

/* --- Book Repair Form Section --- */
.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: flex-start;
}

.booking-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.booking-info > p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-num {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

/* Form Styling */
.booking-form-wrapper {
    background-color: var(--bg-card-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.optional {
    color: var(--text-muted-dark);
    font-weight: 400;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 10px auto;
    padding-right: 40px;
}

.form-group textarea {
    resize: none;
}

/* Error States */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.02);
}

.form-group .error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 6px;
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

/* --- Store Locations Section --- */
.locations-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.locations-grid:has(> :only-child) {
    display: flex;
    justify-content: center;
}

.locations-grid:has(> :only-child) .location-card {
    max-width: 500px;
    width: 100%;
}

.location-card {
    background-color: var(--bg-card-light);
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.location-icon-box {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.location-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.location-card p span {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-map {
    margin-top: 24px;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-light);
    background-color: var(--bg-light);
    width: 100%;
}

.btn-map:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

/* --- Contact & Maps Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

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

.contact-card {
    background-color: var(--bg-card-light);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-details p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-details a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-details a:hover {
    color: var(--primary);
}

/* Embed Map Frame */
.contact-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.map-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand .logo-title {
    color: var(--text-light);
}

.footer-desc {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-contact-text {
    color: var(--text-muted-light);
    font-size: 0.9rem;
}

.footer-contact-text span {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding: 30px 0;
    color: var(--text-muted-light);
    font-size: 0.85rem;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 99;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    right: 30px;
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
}

.arrow-up-icon {
    width: 20px;
    height: 20px;
}

/* --- Modals (Success & Details View) --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.modal-box {
    position: relative;
    background-color: var(--bg-card-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 550px;
    padding: 40px;
    z-index: 1001;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--text-muted-dark);
    cursor: pointer;
    background: transparent;
}

.modal-close:hover {
    color: var(--text-dark);
}

/* Success Modal Details */
.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-svg {
    width: 40px;
    height: 40px;
}

.modal-success h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-success p {
    color: var(--text-muted-dark);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.summary-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 24px;
    text-align: left;
    margin-bottom: 30px;
}

.summary-card h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.summary-row {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.summary-row strong {
    color: var(--text-dark);
    display: inline-block;
    width: 100px;
}

/* Modal Details (Item Details Card View) */
.modal-details-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.modal-details-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.modal-details-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.modal-details-desc {
    color: var(--text-muted-dark);
    margin-bottom: 24px;
}

/* --- Scroll Animations (Intersection Observer Classes) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.fade-left {
    transform: translateX(-40px);
}

.scroll-reveal.fade-right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive Media Queries --- */

/* Tablet Viewports */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem !important; }
    .section-grid, .booking-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-wrapper {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    .why-grid, .services-grid, .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Viewports */
@media (max-width: 768px) {
    .nav-desktop, .header .btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .section-padding {
        padding: 60px 0;
    }
    .why-grid, .services-grid, .shop-grid, .locations-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual {
        padding: 0;
    }
    .expert-badge {
        position: static;
        margin-bottom: 24px;
        max-width: 200px;
    }
    .about-img-box {
        padding: 20px;
    }
    .modal-details-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .modal-box {
        padding: 30px 20px;
    }
    .floating-card {
        padding: 10px 14px;
    }
    .stat-card-1 {
        left: -10px;
        bottom: -15px;
    }
    .stat-card-2 {
        right: -10px;
        top: -15px;
    }
}

/* --- Fallback SVG Icon Custom Layouts --- */
.fallback-icon-svg {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #1e293b, #0f172a);
    color: var(--primary);
    transition: transform var(--transition-smooth);
}

.service-card:hover .fallback-icon-svg {
    transform: scale(1.05);
    background: radial-gradient(circle at top left, #334155, #0f172a);
}

.product-img-wrapper .fallback-icon-svg {
    background: radial-gradient(circle at top left, #ffffff, #f1f5f9);
    border-radius: var(--radius-md);
    width: 100% !important;
    height: 100% !important;
}

.product-card:hover .fallback-icon-svg {
    transform: scale(1.06);
    background: radial-gradient(circle at top left, #ffffff, #e2e8f0);
}

.srv-svg {
    width: 70px;
    height: 70px;
    stroke: var(--primary);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4));
    transition: all 0.3s ease;
}

.service-card:hover .srv-svg {
    stroke: #60a5fa;
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.7));
    transform: rotate(-5deg);
}

.product-card:hover .srv-svg {
    transform: translateY(-5px);
    filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.1));
}

/* --- WhatsApp and Custom Contact elements --- */
.btn-whatsapp-card {
    display: inline-block;
    background-color: #25D366;
    color: #FFFFFF !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    margin-top: 4px;
}

.btn-whatsapp-card:hover {
    background-color: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.contact-social-links a {
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
}

.contact-social-links a:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline;
}

/* --- Announcement Bar Styles --- */
.announcement-bar {
    background-color: #0b132b; /* Matching the deep dark brand theme */
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid #0052cc;
}

.announcement-text {
    display: inline-block;
}

.announcement-link {
    color: #00ddff; /* Bright contrasting blue for the actionable link */
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 700;
}

.announcement-link:hover {
    color: #ffffff;
}

/* Ensure the main navbar adjusts its sticky top position if necessary */
header, .navbar, .header {
    top: 45px;
}

.header.scrolled {
    top: 0;
}

/* Adjust contact section initial padding since it is at the very top of the page under the header */
.contact-section {
    padding: 220px 0 100px !important;
}

/* Reset hero section padding since it now sits below the contact section */
.hero-section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .header {
        top: 65px;
    }
    .header.scrolled {
        top: 0;
    }
    .contact-section {
        padding: 200px 0 80px !important;
    }
    .hero-section {
        padding: 60px 0;
    }
}
