/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f0f8ff;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 20px; /* Adjust as needed */
    right: 20px; /* Position on the right side */
    z-index: 1001; /* Ensure it appears on top of all content */
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Stack lines vertically */
    justify-content: center; /* Center the lines */
    width: 38px; /* Increased width of the hamburger */
    height: 38px; /* Increased height of the hamburger */
    font-size: 30px;
}

.hamburger div {
    height: 6px; /* Increased thickness of the lines */
    background-color: white; /* Default color of the hamburger lines */
    transition: background-color 0.3s ease; /* Smooth transition for color change */
    margin: 3px 0; /* Space between lines */
}

/* Active Hamburger Styles */
.hamburger.active div {
    background-color: #654321; /* Brown color for the lines when active */
}

/* Menu Styles */
.menu {
    display: none; /* Hidden by default */
    flex-direction: column; /* Stack links vertically */
    background-color: rgba(255, 255, 255, 0.95); /* White background for the overlay */
    position: fixed; /* Fixed position to cover the screen */
    top: 0; /* Align to the top */
    right: 0; /* Align to the right */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    padding: 20px; /* Spacing */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); /* Slight shadow for depth */
    overflow-y: auto; /* Allow scrolling if content is too tall */
}

/* Close button styling */
.menu-close-button {
    position: absolute; /* Positioning for the close button */
    top: 20px; /* Top spacing */
    right: 31px; /* Right spacing */
    color: #654321; /* Close button color */
    font-size: 25px; /* Size of the close button */
    cursor: pointer; /* Pointer cursor */
}

/* Menu Links */
.menu a {
    color: #654321; /* Link color */
    text-decoration: none; /* Remove underline */
    padding: 40px; /* Spacing around links */
    font-size: 1.5rem; /* Larger font size for better readability */
    transition: background-color 0.3s; /* Smooth background change */
    border-radius: 5px; /* Rounded corners for links */
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.menu a:hover {
    background-color: rgba(101, 67, 33, 0.2); /* Light hover effect */
}

/* Add a separator line between links */
.menu a {
    position: relative;
}

.menu a::after {
    content: "";
    display: block;
    height: 2px; /* Height of the separator line */
    background-color: #654321; /* Brown color */
    margin: 10px 0; /* Space above and below */
    opacity: 0.5; /* Slightly transparent */
}

/* Remove the last separator */
.menu a:last-child::after {
    content: none; /* No line after the last link */
}

/* Logo in Overlay */
.menu-logo {
    margin-top: 20px; /* Space at the end of the menu */
    text-align: center;
}

#logo {
    width: 100px; 
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    position: relative; /* Ensure relative positioning for overlay */
    height: 100vh;
    background: url('tech.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center text vertically */
    align-items: center; /* Center text horizontally */
    text-align: center;
    color: #fff;
    z-index: 1; /* Set a base z-index */
}

/* Dark Overlay */
.hero-section::after {
    content: "";
    position: absolute; /* Position overlay relative to the hero section */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
    opacity: 0; /* Initially hidden */
    z-index: 0; /* Lower z-index to stay behind content */
}

.hero-text {
    display: flex;
    flex-direction: column; /* Stack the header text vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100%; /* Take full height of the hero section */
    padding: 0 20px; /* Add horizontal padding */
}

.hero-section h1, 
.hero-section p, 
.scroll-down {
    position: relative; /* Ensure they are positioned above the overlay */
    z-index: 2; /* Higher z-index to be above the overlay */
    animation: fadeInUp 1s ease forwards; /* Apply the animation */
    opacity: 0; /* Ensure they start invisible */
}

.hero-text h1 {
    animation-delay: 0.3s; /* Delay for heading */
}

.hero-text p {
    animation-delay: 0.6s; /* Delay for paragraph */
}

/* Scroll Down Button */
.scroll-down {
    display: inline-block;
    margin-top: auto; /* Space from the top */
    margin-bottom: 0px; /* Adjust as needed */
    font-size: 2rem; /* Increase icon size */
    color: #fff;
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Transition effect for hover */
}

.scroll-down:hover {
    color: #D2B48C; /* Change color on hover */
}

/* Examples Section */
.examples-section {
    padding: 40px;
    background: #D2B48C;
    text-align: center;
}

.examples-section h2 {
    color: #fff; /* Change the header color to white */
}

.examples-section .white {
    color: #fff; /* Change the paragraph color to white */
    margin-bottom: 30px;
}

.examples-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.example {
    flex: 1 1 calc(25% - 20px);
    max-width: 300px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer; /* Change cursor to pointer to indicate clickable */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition effects */
}

.example:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow effect on hover */
}

.example img {
    width: 100%;
    height: auto;
}

.example p {
    margin: 10px;
    font-weight: bold;
    color: #6F4E37;
}

/* Pricing Section */
.pricing-section {
    padding: 40px;
    background: #fff; 
    text-align: center;
    color: #6F4E37;
}

.pricing-section h2 {
    margin-bottom: 20px;
}

.pricing-section p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pricing-card {
    flex: 1 1 calc(33.333% - 20px); /* Default 3 columns */
    max-width: 300px;
    background: #fff; /* Card background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer; /* Indicate that it's clickable */
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Shadow effect on hover */
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #6F4E37; /* Accent color */
}

.pricing-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Center the modal */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adjust width */
    max-width: 600px; /* Limit maximum width */
    border-radius: 8px;
    text-align: left;
    color: #6F4E37;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
    text-decoration: none;
}


/* Contact Section */
.contact-section {
    padding: 40px;
    background: #D2B48C;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-section form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-section button {
    background: #ffffff;
    color: #D2B48C;
    padding: 10px 20px;
    border: 1px solid #D2B48C;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-section button:hover {
    background: #D2B48C;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.form-message {
    margin-top: 20px;
    font-size: 1rem;
    color: red;
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed; /* Ensure the banner stays fixed at the bottom */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #654321;
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000; /* Ensure it appears on top of all content */
    display: none; /* Initially hidden */
    box-sizing: border-box; /* Include padding and borders in total width */
    -webkit-backface-visibility: hidden; /* Safari fix for rendering issues */
    -webkit-transform: translate3d(0, 0, 0); /* Safari fix for rendering issues */
}

.cookie-consent-content {
    max-width: 100%; /* Prevent overflow on smaller screens */
    box-sizing: border-box;
}

.cookie-consent-content h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.cookie-consent-content p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.cookie-button {
    background-color: #fff;
    color: #654321;
    border: 1px solid #654321;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1rem;
}

.cookie-button:hover {
    background-color: #654321;
    color: #fff;
    border: 1px solid #fff;
}


/* Footer */
footer {
    padding: 20px;
    background: #6F4E37;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
}

footer p {
    margin: 5px 0;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Set a max width */
    border-radius: 8px;
    color: #6F4E37;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    .hero-section::after {
        opacity: 1; /* Show the overlay on mobile */
    }
    .examples-container {
        gap: 15px;
    }
    .example {
        flex: 1 1 calc(50% - 15px);
        max-width: 100%;
    }
    .contact-section h2 {
        font-size: 1.8rem;
    }
    .contact-section form {
        padding: 10px;
    }
    .pricing-card {
        flex: 1 1 100%; /* Stack cards vertically */
        max-width: 100%; /* Allow cards to take full width */
    }
    .scroll-down {
        margin-bottom: 100px; /* Adjust as needed to position the button */
    }
    .cookie-consent-banner {
        padding: 15px; /* Reduce padding */
        font-size: 0.9rem; /* Adjust font size */
    }

    .cookie-consent-content {
        display: flex;
        flex-direction: column; /* Stack content vertically */
        align-items: center;
    }

    .cookie-consent-content h2 {
        font-size: 1.25rem; /* Smaller heading for mobile */
    }

    .cookie-consent-content p {
        font-size: 0.85rem; /* Adjust text size for smaller screens */
    }

    .cookie-button {
        width: 90%; /* Full-width buttons for smaller screens */
        font-size: 0.9rem; /* Adjust button size */
        margin-top: 10px;
    }
    
    .menu {
       padding: 0;
    }
    
    .menu a {
        font-size: 1.4rem; /* Adjust font size on desktop */
        font-weight: 600;
    }
    
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .example {
        flex: 1 1 100%;
    }
    .contact-section {
        padding: 20px;
    }
    .contact-section h2 {
        font-size: 1.5rem;
    }
}
