﻿.page {
    background: #252526;
    min-height: 100vh;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

/* Home Hero Styles */
.home-hero {
    background: linear-gradient(135deg, #669966 0%, #252526 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

    .home-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    }

    .home-hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        color: white;
    }

    .home-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
        color: white;
        margin-bottom: 0;
    }

/* Carousel Styles */
.carousel-section {
    width: 100%;
    background: #252526;
    padding: 60px 0;
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .carousel-container::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: #669966;
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(102, 153, 102, 0.6);
    }

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .carousel-slide.active {
        display: block;
        opacity: 1;
    }

.before-after-container {
    text-align: center;
    padding: 30px;
}

.before-after-image {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

    .before-after-image img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        display: block;
    }

.before-after-labels {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.before-label, .after-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

    .carousel-control:hover {
        background: rgba(102, 153, 102, 0.8);
        border-color: #669966;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 5px 15px rgba(102, 153, 102, 0.4);
    }

    .carousel-control.prev {
        left: 20px;
    }

    .carousel-control.next {
        right: 20px;
    }

.carousel-arrow {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator:hover {
        background: rgba(102, 153, 102, 0.8);
        border-color: #669966;
        transform: scale(1.2);
    }

    .indicator.active {
        background: #669966;
        border-color: #669966;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(102, 153, 102, 0.6);
    }

/* Welcome Section Styles */
.welcome-section {
    text-align: center;
    padding: 60px 0;
    color: white;
}

    .welcome-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
    }

    .welcome-section p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 800px;
        margin: 0 auto 40px auto;
        line-height: 1.6;
    }

.services-preview {
    margin-top: 50px;
}

    .services-preview h3 {
        font-size: 2rem;
        margin-bottom: 30px;
        color: #669966;
    }

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-preview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

    .service-preview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(102, 153, 102, 0.3);
    }

.service-preview-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-preview-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-preview-card p {
    color: #669966;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #669966 0%, #252526 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

    .services-hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .services-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

.services-section {
    padding: 60px 0;
    background: #252526;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .service-card.featured {
        border-color: #669966;
        box-shadow: 0 15px 40px rgba(102, 153, 102, 0.3);
    }

.service-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #669966;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.price-range {
    margin-bottom: 30px;
}

.price-start {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 5px;
}

.price-amount {
    display: block;
    color: #669966;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-note {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-style: italic;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

    .service-features li {
        color: white;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        padding-left: 25px;
    }

        .service-features li:before {
            content: "✓";
            color: #669966;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

.service-details {
    margin-bottom: 60px;
}

    .service-details h2 {
        color: white;
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
}

    .detail-item h3 {
        color: #669966;
        font-size: 1.3rem;
        margin-bottom: 20px;
        border-bottom: 2px solid #669966;
        padding-bottom: 10px;
    }

    .detail-item ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .detail-item li {
        color: white;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

.booking-info {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
}

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

    .booking-info p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.booking-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #669966;
    color: white;
    border-color: #669966;
}

    .btn-primary:hover {
        background: #5a8a5a;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 153, 102, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border-color: #669966;
}

    .btn-secondary:hover {
        background: #669966;
        transform: translateY(-2px);
    }

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.call-to-book-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #669966;
}

    .call-to-book-section h2 {
        color: white;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .call-to-book-section p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.call-to-book-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(102, 153, 102, 0.3);
    }

.contact-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #669966;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .contact-message h2 {
        color: white;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .contact-message p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-message strong {
        color: #669966;
    }

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.header {
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 15px 15px 0 0;
}

.main-nav {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

    .main-nav .navbar {
        background: transparent !important;
    }

    .main-nav .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
    }

    .main-nav .nav-item {
        list-style: none;
        flex-shrink: 0;
    }

    .main-nav .nav-link {
        color: white !important;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        padding: 12px 24px;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #669966;
        border: 2px solid #669966;
        margin: 0 5px;
    }

        .main-nav .nav-link:hover {
            background-color: #5a8a5a;
            border-color: #5a8a5a;
            color: white !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .main-nav .nav-link.active {
            background-color: #5a8a5a;
            border-color: #ffffff;
            color: white !important;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

.logo-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: linear-gradient(90deg, #669966 0%, #252526 50%);
    padding: 20px 0;
    text-align: left;
}

    .logo-section .container {
        height: 100%; /* Make container fill logo-section height */
        width: auto !important;
    }

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 250px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.top-row {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    padding-right: 20px;
}

.contact-info {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

    .contact-info .phone,
    .contact-info .hours {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.content {
    padding: 40px 0;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page {
        margin: 10px;
        border-radius: 10px;
    }

    .header {
        border-radius: 10px 10px 0 0;
    }

    .main-nav .navbar-nav {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        position: static;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
    }

    .home-hero h1 {
        font-size: 2.5rem;
    }

    .home-hero p {
        font-size: 1.1rem;
    }

    .carousel-section {
        padding: 30px 0;
    }

    .carousel-container {
        margin: 0 10px 30px 10px;
        border-radius: 10px;
    }

    .before-after-image img {
        max-height: 300px;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
    }

    .carousel-arrow {
        font-size: 24px;
    }

    .before-after-labels {
        padding: 0 20px;
        bottom: 15px;
    }

    .before-label, .after-label {
        padding: 8px 16px;
        font-size: 12px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px 30px 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Contact page responsive adjustments */
    .call-to-book-section {
        margin: 0 10px 40px 10px;
        padding: 40px 20px;
    }

        .call-to-book-section h2 {
            font-size: 2rem;
        }

        .call-to-book-section p {
            font-size: 1.1rem;
        }

    .call-to-book-buttons {
        flex-direction: column;
        align-items: center;
    }

        .call-to-book-buttons .btn {
            width: 100%;
            max-width: 300px;
        }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px 40px 10px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-message {
        margin: 0 10px;
        padding: 40px 20px;
    }

        .contact-message h2 {
            font-size: 2rem;
        }

        .contact-message p {
            font-size: 1.1rem;
        }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

        .contact-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
}

/* Bootstrap overrides */
.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.navbar-nav .nav-link {
    color: white !important;
}

/* Loading Bar Styles */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #252526;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    backdrop-filter: blur(5px);
}

    .loading-container.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.loading-bar {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(102, 153, 102, 0.3);
    position: relative;
    border: 1px solid rgba(102, 153, 102, 0.2);
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #669966, #7aa67a);
    border-radius: 4px;
    animation: loading-animation 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(102, 153, 102, 0.6);
    position: relative;
}

    .loading-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s ease-in-out infinite;
    }

.loading-text {
    color: #669966;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 0 10px rgba(102, 153, 102, 0.4);
    animation: text-pulse 2s ease-in-out infinite;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@keyframes loading-animation {
    0% {
        width: 0%;
        opacity: 0.7;
    }

    50% {
        width: 100%;
        opacity: 1;
    }

    100% {
        width: 0%;
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes text-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Hide loading when Blazor is ready */
.loading-container.blazor-ready {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Ensure loading bar is visible even during page transitions */
.loading-container {
    will-change: opacity, visibility;
}

/* Logo and Tagline Styles */

.tagline {
    background: #7E7F86;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    margin: 20px;
}

    .tagline span {
        color: white;
        font-size: 2rem;
        font-weight: 400;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        letter-spacing: 0.5px;
        line-height: 1.3;
        white-space: nowrap;
        padding: 5px;
    }

/* Responsive tagline for smaller screens */
@media (max-width: 768px) {
    .tagline span {
        font-size: 0.8rem;
        white-space: normal;
        text-align: center;
    }

    .tagline {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .tagline span {
        font-size: 0.75rem;
    }

    .tagline {
        padding: 5px 10px;
    }
}

/* Blazor Error UI - Hidden by default, only show when there's an actual error */
#blazor-error-ui {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/*This is a test to see if it updates the site with this information*/