/* Index Page Styles - Dark Theme Matching Proservice */
* {
    box-sizing: border-box;
}

body.dark-theme,
body.dark {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: #111111 !important;
    color: #FFFFFF !important;
    line-height: 1.6;
    min-height: 100vh;
}

/* Ensure main container has dark background */
main {
    background: #111111;
}

/* Home Page Header - Match Image on All Mobile Sizes */
@media (max-width: 768px) {

    body.dark-theme .header,
    body.dark .header {
        background: #000000 !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    body.dark-theme .header.scrolled,
    body.dark .header.scrolled {
        background: #000000 !important;
        box-shadow: none !important;
    }

    body.dark-theme .main-header,
    body.dark .main-header {
        padding: 20px 0 !important;
    }

    body.dark-theme .logo-text,
    body.dark .logo-text {
        font-size: 34px !important;
        font-weight: 900 !important;
        color: #FFFFFF !important;
        text-shadow: none !important;
    }

    body.dark-theme .logo-subtitle,
    body.dark .logo-subtitle {
        font-size: 11px !important;
        color: #A9A9A9 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
    }

    body.dark-theme .mobile-menu-btn,
    body.dark .mobile-menu-btn {
        display: flex !important;
        background: #00FFFF !important;
        border: none !important;
        color: #000000 !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3) !important;
    }

    body.dark-theme .mobile-menu-btn:hover,
    body.dark .mobile-menu-btn:hover {
        background: #00CCCC !important;
        box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4) !important;
    }

    body.dark-theme .mobile-menu-btn:active,
    body.dark .mobile-menu-btn:active {
        background: #00FFFF !important;
    }
}

@media (max-width: 480px) {

    body.dark-theme .header,
    body.dark .header {
        background: #000000 !important;
    }

    body.dark-theme .header.scrolled,
    body.dark .header.scrolled {
        background: #000000 !important;
    }

    body.dark-theme .main-header,
    body.dark .main-header {
        padding: 18px 0 !important;
    }

    body.dark-theme .logo-text,
    body.dark .logo-text {
        font-size: 30px !important;
        font-weight: 900 !important;
    }

    body.dark-theme .logo-subtitle,
    body.dark .logo-subtitle {
        font-size: 10px !important;
        letter-spacing: 1.2px !important;
    }

    body.dark-theme .mobile-menu-btn,
    body.dark .mobile-menu-btn {
        width: 42px !important;
        height: 42px !important;
        background: #00FFFF !important;
        border: none !important;
        color: #000000 !important;
        box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3) !important;
    }

    body.dark-theme .mobile-menu-btn:hover,
    body.dark .mobile-menu-btn:hover {
        background: #00CCCC !important;
        box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4) !important;
    }

    body.dark-theme .mobile-menu-btn:active,
    body.dark .mobile-menu-btn:active {
        background: #00FFFF !important;
    }
}

@media (max-width: 360px) {

    body.dark-theme .header,
    body.dark .header {
        background: #000000 !important;
    }

    body.dark-theme .header.scrolled,
    body.dark .header.scrolled {
        background: #000000 !important;
    }

    body.dark-theme .main-header,
    body.dark .main-header {
        padding: 16px 0 !important;
    }

    body.dark-theme .logo-text,
    body.dark .logo-text {
        font-size: 28px !important;
        font-weight: 900 !important;
    }

    body.dark-theme .logo-subtitle,
    body.dark .logo-subtitle {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }

    body.dark-theme .mobile-menu-btn,
    body.dark .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
        background: #00FFFF !important;
        border: none !important;
        color: #000000 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3) !important;
    }

    body.dark-theme .mobile-menu-btn:hover,
    body.dark .mobile-menu-btn:hover {
        background: #00CCCC !important;
        box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4) !important;
    }

    body.dark-theme .mobile-menu-btn:active,
    body.dark .mobile-menu-btn:active {
        background: #00FFFF !important;
    }
}

/* Hero Section */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Override Tailwind classes for dark theme */
.bg-slate-900 {
    background: #111111 !important;
}

.bg-slate-800 {
    background: #111111 !important;
}

/* Hero CTA Button */
.hero-cta-btn {
    background: #00FFFF !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
}

.hero-cta-btn:hover {
    background: #00CCCC !important;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5) !important;
}

/* Royal Collection Link */
.text-amber-400,
.text-amber-300 {
    color: #00FFFF !important;
}

.text-amber-400:hover,
.text-amber-300:hover {
    color: #00CCCC !important;
}

/* Buttons */
.bg-amber-600,
.bg-amber-700 {
    background: #00FFFF !important;
    color: #000000 !important;
}

.bg-amber-600:hover,
.bg-amber-700:hover {
    background: #00CCCC !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
}

/* Color Swatches */
.w-24.h-24.rounded-full {
    border: 2px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.w-24.h-24.rounded-full:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Image Border */
.border-white\/20 {
    border-color: rgba(0, 255, 255, 0.25) !important;
}

/* Testimonial Quote */
.text-text-light\/20 {
    color: rgba(0, 255, 255, 0.2) !important;
}

/* Section backgrounds */
section {
    background: #111111 !important;
}

/* Text colors */
.text-text-light {
    color: #FFFFFF !important;
}

.text-text-muted-dark {
    color: #A9A9A9 !important;
}

/* Links */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: #00CCCC !important;
}

/* Image containers */
.rounded-lg {
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {

    /* Tablet styles */
    .container {
        padding: 0 30px;
    }

    /* Hero section adjustments */
    section h1 {
        font-size: 3.5rem !important;
    }

    section h2 {
        font-size: 2.5rem !important;
    }

    /* Grid adjustments */
    .grid {
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {

    /* Mobile landscape and small tablets */
    .fade-in-section {
        transform: translateY(20px);
    }

    /* Container padding */
    .container {
        padding: 0 20px;
    }

    /* Hero section */
    section h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    section h2 {
        font-size: 2rem !important;
    }

    /* Text sizes */
    p {
        font-size: 0.95rem !important;
    }

    /* Buttons */
    button,
    .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* Grid columns */
    .grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Spacing adjustments */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .py-28 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .gap-12 {
        gap: 1.5rem !important;
    }

    .gap-8 {
        gap: 1rem !important;
    }

    /* Color swatches */
    .w-24 {
        width: 4rem !important;
    }

    .h-24 {
        height: 4rem !important;
    }

    /* Image sizes */
    .h-96 {
        height: 16rem !important;
    }

    .max-w-md {
        max-width: 100% !important;
    }

    /* Text alignment */
    .text-center {
        text-align: center !important;
    }

    /* Flex direction */
    .flex-col {
        flex-direction: column !important;
    }

    /* Max widths */
    .max-w-4xl {
        max-width: 100% !important;
    }

    .max-w-6xl {
        max-width: 100% !important;
    }

    .max-w-7xl {
        max-width: 100% !important;
    }

    .max-w-5xl {
        max-width: 100% !important;
    }

    /* Testimonial quote */
    .text-9xl {
        font-size: 4rem !important;
    }

    .text-2xl {
        font-size: 1.25rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {

    /* Small phones */
    .container {
        padding: 0 15px;
    }

    /* Hero section */
    section h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }

    section h2 {
        font-size: 1.75rem !important;
    }

    /* Text sizes */
    p {
        font-size: 0.875rem !important;
    }

    /* Buttons */
    button,
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Grid columns */
    .md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Spacing */
    .py-20 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .py-28 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mb-6 {
        margin-bottom: 1rem !important;
    }

    .mb-8 {
        margin-bottom: 1.5rem !important;
    }

    .mb-12 {
        margin-bottom: 2rem !important;
    }

    /* Color swatches */
    .w-24 {
        width: 3.5rem !important;
    }

    .h-24 {
        height: 3.5rem !important;
    }

    /* Image sizes */
    .h-96 {
        height: 12rem !important;
    }

    /* Testimonial */
    .text-9xl {
        font-size: 3rem !important;
    }

    .text-2xl {
        font-size: 1.125rem !important;
    }

    .text-3xl {
        font-size: 1.25rem !important;
    }

    /* Gap adjustments */
    .gap-8 {
        gap: 0.75rem !important;
    }

    .gap-12 {
        gap: 1rem !important;
    }
}

@media (max-width: 360px) {

    /* Extra small phones */
    .container {
        padding: 0 12px;
    }

    section h1 {
        font-size: 1.75rem !important;
    }

    section h2 {
        font-size: 1.5rem !important;
    }

    .w-24 {
        width: 3rem !important;
    }

    .h-24 {
        height: 3rem !important;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: 1fr !important;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
    section h1 {
        font-size: 2.5rem !important;
    }

    .h-screen {
        min-height: 100vh !important;
        height: auto !important;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure containers don't overflow */
* {
    max-width: 100%;
}

/* Prevent duplicate scrollbars - ONLY allow scrollbar on html/body */
html {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: auto;
    scrollbar-color: #888 #f1f1f1;
}

body {
    padding-top: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Default scrollbar styling - system default - ONLY on html/body */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 17px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
    display: block;
    height: 17px;
    width: 17px;
    background: #f1f1f1;
}

html::-webkit-scrollbar-button:vertical:start:decrement,
body::-webkit-scrollbar-button:vertical:start:decrement {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 3L1 8h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

html::-webkit-scrollbar-button:vertical:end:increment,
body::-webkit-scrollbar-button:vertical:end:increment {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide scrollbars on ALL other elements (except html/body) */
main::-webkit-scrollbar,
section::-webkit-scrollbar,
div::-webkit-scrollbar,
.relative::-webkit-scrollbar,
.flex::-webkit-scrollbar,
.container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Remove scrollbars from all other elements */
main,
section,
div,
.relative,
.flex,
.container {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
}

/* Hero section should not create scrollbar */
section.h-screen,
.h-screen {
    overflow: hidden !important;
}