/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root variables for colors and fonts */
:root {
    --primary-color: #16E4ED;
    --secondary-color: #14CBD4;
    --background-color: #000000;
    --text-color: #FFFFFF;
    --font-family: 'Montserrat', Arial, sans-serif;
    --header-padding: 20px 0;
    --header-padding-sticky: 10px 0;
}

/* Body styles */
body {
    background: linear-gradient(135deg, #0d0d0d 25%, #1a1a1a 75%);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.sticky {
    background-color: rgba(0, 0, 0, 0.95);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--header-padding);
    transition: padding 0.3s ease;
}

header.sticky .container {
    padding: var(--header-padding-sticky);
}

/* Logo Image */
.logo-image {
    max-width: 200px;
    width: auto;
    height: auto;
    transition: max-width 0.3s ease;
}

header.sticky .logo-image {
    max-width: 150px;
}

/* Navigation bar */
nav {
    margin-top: 30px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero section */
#hero {
    padding-top: 340px;
    /* Adjusted padding-top to match the header's height */
    padding-bottom: 100px;
    background-image: url('hero-background.jpg');
    /* Replace with your actual image */
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInDown 1s ease;
}

#hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Content sections */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    animation: fadeIn 1s ease;
}

.content-section .underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.content-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    animation: fadeIn 1s ease;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background-color: transparent;
    /* Make background transparent */
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    /* Optional: Add a border for separation */
}

.service-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-item:hover i {
    color: var(--secondary-color);
}

.service-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-item p {
    color: var(--text-color);
    font-size: 16px;
}

/* Purchase button */
.btn-container {
    text-align: center;
    margin-top: 30px;
}

/* Contact section */
.social-media {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-media a {
    margin: 0 15px;
    color: var(--primary-color);
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: var(--secondary-color);
    transform: scale(1.5);
}

/* Footer */
footer {
    background-color: transparent;
    /* Make background transparent */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--primary-color);
}

footer p {
    color: var(--text-color);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    #hero h2 {
        font-size: 32px;
    }

    .logo-image {
        max-width: 180px;
    }

    header.sticky .logo-image {
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: none;
        /* Hide menu initially */
        z-index: 1000;
    }

    

    nav ul li {
        margin: 10px 0;
    }

    nav ul.show {
        display: flex;
        /* Show the menu when toggled */
    }

    nav .menu-toggle {
        display: block;
        background: var(--primary-color);
        color: var(--text-color);
        padding: 10px;
        cursor: pointer;
        text-align: center;
    }

    nav .menu-toggle:hover {
        background: var(--secondary-color);
    }
}


/* Gallery Section */
#gallery {
    background-color: transparent;
    padding: 80px 0;
}

#gallery h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    animation: fadeIn 1s ease;
}

#gallery .underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

/* Gallery Grid - Newest Photos on Top */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.gallery a img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(22, 228, 237, 0.4);
}

.gallery a:hover img {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* Responsive Image Styling */
#services .container img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#photo-section img {
    display: block;
    margin: 50px auto;
    /* Center the image and add top/bottom margin */
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    /* Add rounded corners */
    box-shadow: 0 0 20px rgba(22, 228, 237, 0.5);
    /* Add a glow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transitions for hover effects */
}

#photo-section img:hover {
    transform: scale(1.05) translateY(-10px);
    /* Slightly enlarge and lift on hover */
    box-shadow: 10px 10px 30px rgba(22, 228, 237, 0.8);
    /* Increase glow intensity on hover */
}

#countdown {
    text-align: center;
    /* Center the timer */
    padding: 40px 0;
    /* Add some spacing */
    background-color: #16E4ED;
    /* Add a background color (optional) */
    color: black;
}

#timer {
    display: inline-flex;
    /* Arrange time blocks horizontally */
    margin: 20px 0;
}

.time-block {
    margin: 0 15px;
    /* Add spacing between time blocks */
    font-size: 2em;
    /* Make the numbers larger */
}

.time-block span {
    display: block;
    /* Stack the number and label */
}

.label {
    font-size: 0.6em;
    /* Make the labels smaller */
    color: #000000;
    /* Lighter color for labels */
}

/* Hide menu toggle for larger screens */
@media (min-width: 481px) {
    .menu-toggle {
        display: none; /* Completely hide the menu toggle on larger screens */
    }
}

/* Show menu toggle for smaller screens */
@media (max-width: 480px) {
    .menu-toggle {
        display: block; /* Show the menu toggle only on small screens */
        background: var(--primary-color);
        color: var(--text-color);
        padding: 10px;
        cursor: pointer;
        text-align: center;
    }

    .menu-toggle:hover {
        background: var(--secondary-color);
    }
}

.price-list-section {
    text-align: center; /* Center-align the content */
    padding: 20px 0; /* Add some vertical spacing */
    background-color: rgba(22, 228, 237, 0.8); /* Optional: Light background for separation */
    color: black; /* Use the text color from your variables */
    
}

.price-list-section h4 {
    font-size: 18px; /* Adjust font size */
    font-weight: 800; /* Make it less bold for better readability */
    margin: 0; /* Remove default margin */
}

@media (max-width: 480px) {
    .price-list-section h4 {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 10px; /* Add some padding for better spacing */
    }
}
