/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px; /* Base font size */
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://i.pinimg.com/736x/c6/e2/e6/c6e2e67d198daf6f91a6b7d9489f94d0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #E0E6ED;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    padding-top: 80px; /* Slightly increased for better header clearance */
    min-height: 100vh;
    min-height: 100dvh; /* For mobile browsers */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scaling */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
p { font-size: 1rem; }

@media (max-width: 768px) {
    html { font-size: 14px; } /* Scale down on mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

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

/* Service Image Utility */
.service-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.blog-post-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.blog-cover-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.blog-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-description p {
    margin-bottom: 1em;
    line-height: 1.8;
    text-align: justify;
}

.blog-description p:last-child {
    margin-bottom: 0;
}

.blog-post-nav-button {
    background-color: rgba(0, 168, 184, 0.1);
    color: #98FF98;
    text-shadow: 1px 1px 0px #808080;
    border: 1px solid rgba(0, 168, 184, 0.5);
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.blog-post-nav-button img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-post-nav-button:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.blog-post-nav-button:active {
    transform: translateY(0);
}

.blog-post-buttons-container {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .blog-post-image {
        width: 100%;
        height: auto;
    }
    
    .blog-post-buttons-container {
        position: static;
        margin-bottom: 1rem;
        flex-direction: column;
    }
}

main {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-grow: 1; /* Allow main content to grow and push footer down */
}

@media (min-width: 769px) {
    main {
        padding: 2rem;
    }
}

.checkout-button-container {
    display: none; /* Hidden by default */
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.checkout-button-container .btn {
    min-width: 250px;
}

footer {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 2rem;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    color: #E0E6ED;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Checkout Header Styles */
.checkout-header-container {
    width: 100%;
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
}

.checkout-header-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #98FF98;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.checkout-header-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.checkout-header-link i {
    font-size: 1.2rem;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-header h1 {
    margin: 0;
}

.checkout-header-icon {
    font-size: 2rem;
    color: #98FF98;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .checkout-header-container {
        padding: 0 1rem;
    }
    
    .checkout-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Glass Card Effect */
.glass-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly less opaque */
    backdrop-filter: blur(10px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Softer border */
    padding: 2.5rem; /* Adjusted padding */
    margin: 1rem;
    box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.25); /* Softer shadow */
}

@media (min-width: 769px) {
    .glass-card {
        padding: 3rem; /* Larger padding for wider screens */
    }
}

.square-background {
    background-image: url('https://i.pinimg.com/736x/c6/e2/e6/c6e2e67d198daf6f91a6b7d9489f94d0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    width: 100%;
}

.checkout-background {
    background-image: url('https://i.pinimg.com/736x/c6/e2/e6/c6e2e67d198daf6f91a6b7d9489f94d0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.square-background::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.square-background {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
}

.read-more {
    background-color: rgba(255, 255, 255, 0.1); /* Translucent white */
    backdrop-filter: blur(8px); /* Liquid glass effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
    color: limegreen; /* Lime green text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add a subtle shadow for readability */
}

.read-more:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly more opaque on hover */
    border-color: rgba(255, 255, 255, 0.5); /* More visible border on hover */
    transform: translateY(-3px); /* Lift effect on hover */
}

.read-more:active {
    transform: translateY(0); /* Reset on click */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 70px; /* Consistent height */
    flex-shrink: 0;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Form Layout Utilities */
.form-group-inline, .expiry-cvv {
    display: flex;
    gap: 1rem;
}

.form-group-inline > .form-group, .expiry-cvv > div {
    flex: 1;
}

.expiry-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expiry-inputs input {
    width: 60px !important;
    text-align: center;
}

@media (max-width: 480px) {
    .form-group-inline, .expiry-cvv {
        flex-direction: column;
        gap: 0;
    }
}

/* Container Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Back button consistency */
.back-button-container, .blog-post-nav-button {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.purchase-header {
    justify-content: center; /* Center the logo */
    padding: 1rem 2rem; /* Adjust padding for a cleaner look */
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem; /* Reduced space between logo and nav on smaller screens */
}



.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    font-size: 1.5rem;
    color: #98FF98; /* Mint Green */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .main-nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 60px; /* Below header */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-nav.active {
        display: block; /* Show when active */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }
}

.main-nav a {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    text-decoration: none;
    font-size: 1.15rem; /* Slightly increased font size */
    font-weight: 500; /* Added font weight */
    padding: 0.5rem 1rem; /* Adjusted padding */
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.main-nav a:hover {
    color: #00a8b8;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
    header {
        flex-wrap: nowrap; /* Prevent wrapping on larger screens */
    }

    .logo-container {
        margin-bottom: 0; /* Remove margin on larger screens */
    }

    .main-nav {
        margin-left: 0.5rem;
    }

    .main-nav ul {
        justify-content: flex-start; /* Align nav items to the left */
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 1rem; /* Reduced padding for very small screens */
        padding-right: calc(1rem + 15px); /* Adjusted for scrollbar */
    }
}

.logo {
    width: 50px; /* Example size */
    height: 50px; /* Example size */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 5px; /* Slightly rounded corners */
    margin-right: 1rem;
}



/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* Payment Options Section */
#payment-options {
    max-width: 600px; /* Adjust as needed */
    margin: 2rem auto; /* Center the section with vertical spacing */
    text-align: center;
}

#payment-options h2 {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.payment-methods {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on small screens */
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: center;
}

.pay-full-amount-summary-above {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    width: 100%;
}

.pay-full-amount-summary-above h3 {
    color: #98FF98;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.pay-full-amount-summary-above .total-display {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.payment-methods .payment-btn {
    background-color: #00a8b8; /* Primary button color */
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Full width for buttons */
}

.payment-methods .payment-btn:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.payment-methods .payment-btn:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .payment-methods {
        flex-direction: column; /* Keep vertical stacking for professional look */
        align-items: center;
    }

    .payment-methods .payment-btn {
        width: auto; /* Auto width for horizontal arrangement */
        min-width: 180px; /* Minimum width for consistency */
    }
}

.purchase-description h2 {
    font-size: 2.2rem; /* Slightly larger for emphasis */
    color: #E0E6ED; /* Soft Blue-Grey */
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.purchase-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px; /* Limit width for readability */
    margin: 0 auto 1.5rem auto; /* Center and add bottom margin */
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.description-wrapper {
    max-width: 900px; /* Control the overall width of the description section */
    margin: 2rem auto; /* Center the wrapper and add vertical spacing */
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white background */
    backdrop-filter: blur(8px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Softer border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

@media (max-width: 768px) {
    .description-wrapper {
        margin: 1rem auto;
        padding: 1rem;
    }

    .purchase-description h2 {
        font-size: 1.8rem;
    }

    .purchase-description p {
        font-size: 1rem;
    }
}

/* Existing styles for .purchase-description (if any) will be overridden or merged */
.purchase-description {
    /* Ensure any conflicting styles are handled */
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem; /* Increased margin for better spacing */
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Slightly more visible border */
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly more opaque background */
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in width */
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder,
.form-group textarea::placeholder {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a8b8;
    box-shadow: 0 0 0 3px rgba(0, 168, 184, 0.5);
}

.contact-form .btn {
    align-self: flex-start; /* Align button to the start */
    background-color: #00a8b8;
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Radio Player Styling */
.radio-player-container {
    max-width: 600px; /* Adjust as needed */
    margin: 2rem auto; /* Center the player and add vertical spacing */
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.08); /* Glass card background */
    backdrop-filter: blur(20px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Softer border */
    box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.25); /* Softer shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radio-player-container audio {
    width: 100%;
    max-width: 500px; /* Limit the audio player width within the container */
    margin-top: 1rem;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for the player controls */
}

.radio-player-container .beat-artwork-image {
    width: 150px; /* Adjust size as needed */
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem; /* Space between image and audio player */
}

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


.contact-form .btn:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.contact-form .btn:active {
    transform: translateY(0);
}

.contact-info {
    margin-top: 2rem;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-info h3 {
    color: #00a8b8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.contact-info p i {
    margin-right: 10px;
    color: #00a8b8;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: #00a8b8;
    transform: translateY(-3px);
}

#contact {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between major sections */
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden; /* Ensures the iframe respects border-radius */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer shadow */
}

.map-container iframe {
    border-radius: 15px; /* Apply border-radius to the iframe as well */
}

/* Responsive video container for YouTube players */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem; /* Add some space below the video */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Keep the border-radius */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Keep the shadow */
}

#services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
}

.service-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* Make buttons same height in a row */
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.service-buttons .btn {
    background-color: rgba(0, 168, 184, 0.2);
    color: #98FF98;
    text-shadow: 1px 1px 0px #808080;
    border: 1px solid rgba(0, 168, 184, 0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex: 1 1 300px; /* Allow buttons to grow and shrink */
    max-width: 400px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
}

@media (max-width: 768px) {
    .service-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-buttons .btn {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}

.service-buttons hr {
    flex-basis: 100%; /* Force HR to take its own line */
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
    width: 100%;
}

.service-buttons .btn:hover {
    background-color: rgba(0, 168, 184, 0.4); /* More opaque on hover */
    border-color: #00a8b8;
    transform: translateY(-2px);
}

.service-buttons .btn:active {
    transform: translateY(0);
}

.service-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1 1 calc(33.333% - 2rem); /* Three cards per row on desktop */
    min-width: 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1024px) {
    .service-card {
        flex: 1 1 calc(50% - 2rem); /* Two cards per row on tablets */
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; /* One card per row on mobile */
        margin: 0.5rem 0;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px 0 rgba(31, 38, 135, 0.35); /* Softer shadow on hover */
}

.service-card h3 {
    color: #00a8b8;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.service-card p {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #00a8b8;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.service-card .add-to-cart-btn {
    background-color: rgba(0, 168, 184, 0.1); /* More transparent primary color */
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    border: 1px solid rgba(0, 168, 184, 0.6); /* Slightly more visible border */
    padding: 0.6rem 1.2rem; /* Reduced padding */
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem; /* Reduced font size */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px); /* Liquid glass blur effect */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    width: fit-content;
    min-width: 160px;
    margin-top: 0.5rem;
}

.service-card .btn {
    background-color: rgba(0, 168, 184, 0.2);
    color: #98FF98;
    text-shadow: 1px 1px 0px #808080;
    border: 1px solid rgba(0, 168, 184, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-block;
}

.service-card .btn:hover {
    background-color: rgba(0, 168, 184, 0.4);
    border-color: #00a8b8;
    transform: translateY(-2px);
}

.service-card .btn:active {
    transform: translateY(0);
}

.service-card .add-to-cart-btn:hover {
    background-color: rgba(0, 168, 184, 0.3); /* More opaque on hover */
    border-color: #00a8b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.service-card .add-to-cart-btn:active {
    transform: translateY(0);
    background-color: rgba(0, 168, 184, 0.4); /* Even more opaque on active */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow on active */
}

#cart-container {
    max-width: 300px; /* Adjust as needed for a thin rectangle */
    height: auto; /* Allow height to adjust based on content */
    padding: 1rem; /* Reduced padding */
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.25);
}

.back-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.back-button-container .btn {
    background-color: #000; /* Black button */
    color: #E0E6ED; /* Soft Blue-Grey */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button-container .btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

#cart-container h3 {
    color: #00a8b8;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

#cart-items li:last-child {
    border-bottom: none;
}

#cart-container p {
    font-size: 1.4rem;
    font-weight: bold;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: right;
    margin-top: 1.5rem;
}

#cart-container #checkout-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #00a8b8;
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 2rem;
}

/* Checkout Page Specific Styles */
.checkout-container {
    width: 100%;
    max-width: 100%;
    padding: 1rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.checkout-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: calc(100vh - 150px); /* Fills screen height between header/footer */
    display: flex;
    flex-direction: column;
    border-radius: 15px; /* Keep the rounded glass look */
    align-items: center; /* Center content horizontally */
}

.checkout-section > * {
    width: 100%;
    max-width: 800px; /* Keep inner content at a readable width */
}

@media (min-width: 1200px) {
    .checkout-section {
        padding: 4rem; /* More breathing room on large screens */
    }
}

#checkout-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem; /* Reduced padding */
    margin: 2rem auto; /* Center the section and add margin */
    max-width: 400px; /* Reduced max-width for a smaller size */
    border-radius: 15px; /* Ensure consistent glass-card styling */
    background-color: rgba(255, 255, 255, 0.08); /* Consistent glass-card background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.25);
}

#checkout-section h1 {
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem; /* Reduced margin */
    font-size: 2rem; /* Adjusted font size */
}

#checkout-section #cart-items-checkout {
    width: 100%;
    margin-bottom: 1rem; /* Reduced margin */
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left; /* Changed from right to left */
}

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

.checkout-item span:first-child {
    flex: 1;
    text-align: left;
}

.checkout-item span:nth-child(2) {
    margin: 0 1.5rem;
    font-weight: 600;
}

.empty-cart-msg {
    text-align: center;
    padding: 2rem;
    color: #98FF98;
    font-style: italic;
    font-size: 1.2rem;
}

.remove-item-btn {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 0, 0, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.remove-item-btn i {
    font-size: 0.8rem;
}

#checkout-section p {
    font-size: 1.2rem; /* Slightly smaller font size */
    font-weight: bold;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem; /* Reduced margin */
}

#checkout-section #proceed-to-checkout-button {
    display: block;
    width: 90%; /* Adjusted width */
    max-width: 250px; /* Adjusted max width */
    padding: 0.8rem; /* Adjusted padding */
    background-color: #00a8b8;
    color: #98FF98; /* Mint Green */
    text-shadow: 1px 1px 0px #808080; /* Thin grey outline */
    border: none;
    border-radius: 8px;
    font-size: 1.1rem; /* Adjusted font size */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#checkout-section #proceed-to-checkout-button:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

#checkout-section #proceed-to-checkout-button:active {
    transform: translateY(0);
}



@media (max-width: 992px) {
    .service-card {
        flex: 1 1 calc(50% - 2rem); /* Two cards per row with gap */
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; /* One card per row */
        max-width: 100%;
    }
}

#booking h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
}

#home.hero {
    background-image: url('https://i.pinimg.com/736x/c6/e2/e6/c6e2e67d198daf6f91a6b7d9489f94d0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #E0E6ED; /* Soft Blue-Grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative; /* Needed for the ::before pseudo-element */
    z-index: 1; /* Ensure content is above the overlay */
    overflow: hidden; /* To contain the pseudo-element if it extends beyond padding */
}

#home.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
    z-index: -1; /* Place the overlay behind the content */
}

/* Ensure text and buttons are positioned correctly above the overlay */
#home.hero h1,
#home.hero p,
#home.hero .btn {
    position: relative;
    z-index: 2;
}

/* New rules to make the projects glass-card fill the page */
main.square-background {
    max-width: none; /* Override max-width from 'main' */
    padding: 0; /* Override padding from 'main' */
    align-items: stretch; /* Allow children to take full width */
    justify-content: center; /* Center content vertically */
}

main.square-background #projects.glass-card,
main.square-background #services.glass-card,
main.square-background #blog.glass-card {
    width: 100%;
    min-height: calc(100vh - 60px); /* Subtract header height */
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.coming-soon-container {
    text-align: center;
}

.coming-soon-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coming-soon-container p {
    font-size: 1.5rem;
}

.topic-separator {
    width: 100%;
    margin: 2rem 0; /* Add some vertical spacing */
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* A subtle line */
}
