:root {
    --bg-color: #EFEFEF;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --accent-color: #0F172A;
    --accent-hover: #334155;
    --primary-brand: #02639B; /* Darkened for WCAG AA contrast against white */
    --primary-hover: #014F7A;
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

/* Accessibility: Keyboard Focus States */
*:focus-visible {
    outline: 3px solid var(--primary-brand);
    outline-offset: 2px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

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

main, section, header, footer {
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(239, 239, 239, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-brand);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background: rgba(0,0,0,0.5);
    border: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--primary-brand);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--primary-brand);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--accent-color);
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 140px; /* offset nav */
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(239, 239, 239, 0.8) 50%, rgba(239, 239, 239, 0.2) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-brand);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #FFFFFF 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card.featured {
    background: white;
    border: 2px solid var(--primary-brand);
    transform: scale(1.05);
    z-index: 2;
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-brand);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.card-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price-hint {
    color: var(--primary-brand);
    font-weight: 700;
    font-size: 1.1rem;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 48px;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-brand);
    font-weight: bold;
}

.card-btn {
    width: 100%;
}

.other-services h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.mini-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mini-card {
    padding: 2rem;
    text-align: center;
}

.mini-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.mini-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer p, .footer ul {
    color: #94A3B8;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer li span {
    display: inline-block;
    width: 80px;
    color: white;
}

.footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .service-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .mini-services {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        text-align: center;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .page-header {
        padding-top: 110px;
        padding-bottom: 40px;
        margin-bottom: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Page Content Layouts */
.page-content {
    padding-bottom: 60px;
    min-height: calc(100vh - 400px);
}

.page-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 140px;
    padding-bottom: 60px;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Teaser Section */
.teaser-section {
    padding: 6rem 0;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.teaser-card {
    text-align: center;
    padding: 3rem 2rem;
}

.teaser-card h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.teaser-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-page-section {
    padding-bottom: 6rem;
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 4rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-brand);
}

.info-block p {
    line-height: 1.6;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

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

.hours-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.booking-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.booking-cta p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Service Categories Layout */
.service-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.category-card {
    padding: 3rem;
}

.category-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    color: var(--primary-brand);
}

.service-item-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-info {
    flex: 1;
    padding-right: 2rem;
}

.service-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-info .time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-price-book {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-price-book .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.mobile-detail-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 2px solid rgba(255,255,255,0.1);
}

.mobile-detail-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-detail-section > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.mobile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mobile-item {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-item .info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mobile-item .info span.time {
    display: block;
    color: var(--primary-brand);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.mobile-item .price-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.mobile-item .price-btn .price {
    font-weight: 600;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .service-price-book {
        width: 100%;
        justify-content: space-between;
    }
    .mobile-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .mobile-item .price-btn {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 1.25rem;
}

.rating-summary .stars, .review-header .stars {
    color: #FFB800; /* Gold color for stars */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.review-text {
    flex: 1;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.review-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

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

/* Services Filter */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: var(--primary-brand);
    color: var(--bg-dark);
    font-weight: 600;
}

.filter-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.filter-item.hidden {
    display: none;
}

/* Service Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.summary-card {
    padding: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.summary-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-brand);
    font-size: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.summary-card .service-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Interactive Accordion for Services */
details.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

details.category-card summary {
    list-style: none;
    outline: none;
}

details.category-card summary::-webkit-details-marker {
    display: none; /* Hide default arrow */
}

details.category-card summary h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.category-card summary h3::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-brand);
    transition: transform 0.3s ease;
}

details[open].category-card summary h3::after {
    content: '−'; /* Minus sign */
}

details[open].category-card summary h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
