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

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: #fffca9; /* Updated background color */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #007BFF;
    font-weight: 700;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
}

/* Footer */
footer {
    background-color: #fffca9;
    color: #333;
    text-align: center;
    padding: 30px 20px;
    line-height: 1.6;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Slider Section with Overlay Text */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: auto;
    animation: zoomInOut 10s infinite ease-in-out;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Slider Text */
.slider-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -35%);
    text-align: center;
    padding: 0 20px;
    width: 75%;
}

.slider-text h1 {
    font-size: 5vw;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0400a4;
    text-shadow: 0 0 12px rgba(255, 252, 160, 0.9);
}

/* Secondary Text Below the Slider */
.secondary-text-container {
    text-align: center;
    margin: 20px auto;
    padding: 0 20px;
}

.secondary-text-container p {
    font-size: 3em;
    font-weight: bold;
    color: black;
    text-shadow: 0 0 8px rgba(255, 252, 160, 0.9);
    margin-bottom: 15px;
}

/* Test Now Button */
.secondary-text-container .test-now-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #28a745;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.secondary-text-container .test-now-button:hover {
    background-color: #218838;
}

/* Content Section with Overlaid Texts on Images */
.content-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.image-text-block {
    position: relative;
    width: 100%;
}

.image-text-block img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-text-block .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    color: white;
    text-align: center;
    padding: 10px;
}

.image-text-block .overlay-text p {
    font-size: 3vw;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

/* Price and Order Button Section Under the Slider */
.order-details {
    text-align: center;
    margin: 40px auto;
}

.price-text {
    font-size: 2.5em;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
}

.order-now-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #28a745;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.order-now-button:hover {
    background-color: #218838;
}

/* Cookie Popup Styling */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 20px;
    width: 80%;
    text-align: center;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Accept Button Styling */
.accept-button {
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.accept-button:hover {
    background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        justify-content: center;
    }

    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fffca9;
        width: 100%;
        text-align: center;
    }

    nav.active ul li {
        margin: 15px 0;
    }

    .slider-text h1,
    .order-text-overlay h1 {
        font-size: 9vw;
        text-shadow: 0 0 8px rgba(255, 252, 160, 0.9);
    }

    .secondary-text-container p {
        font-size: 4vw;
    }

    .image-text-block .overlay-text p {
        font-size: 5vw;
    }

    .test-now-button,
    .order-now-button,
    .order-now-price-button {
        font-size: 1.2em;
        padding: 12px 30px;
    }
}
