/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff; /* White background */
    color: #000000; /* Default black text */
}

/* General Header Styles */
#main-header {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Increased padding for a larger appearance */
    position: fixed;
    top: 0;
    width: 100vw; /* Full viewport width */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Header for larger screen adjustments */
@media (min-width: 481px) {
    #main-header {
        padding: 20px 50px; /* Larger padding for desktop view */
        max-width: 100%; /* Ensure full width */
    }
}

.hamburger-menu {
    display: none; /* Default: hidden on larger screens */
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

#main-header .logo {
    font-size: 28px; /* Balanced logo size */
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0; /* Prevent extra spacing */
}

#main-header .nav-links-container {
    display: flex;
    justify-content: flex-end; /* Centers the buttons horizontally */
    align-items: center; /* Ensures vertical alignment */
    gap: 20px; /* Spacing between buttons */
    margin-right: 80px;
    width: 100%; /* Makes the container take up the full width */
}

#main-header .nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Space between navigation links */
    margin: 0;
    padding: 0;
}

.nav-links a,
.cta-button {
    background: linear-gradient(135deg, #d4af37, #b88d2e); /* Gold gradient */
    color: #000; /* Black text */
    font-size: 16px; /* Adjust size for readability */
    font-weight: bold;
    padding: 10px 20px; /* Uniform padding for all buttons */
    text-decoration: none; /* No underline */
    border-radius: 8px; /* Rounded corners for consistency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth hover transitions */
    display: inline-block; /* Ensures proper spacing */
    text-align: center;
}

.nav-links a:hover,
.cta-button:hover {
    background-color: #f1c40f; /* Brighter gold on hover */
    color: #000;
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

/* Hero Section with Video */
#hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    margin-top: 60px; /* Offset for fixed header */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff; /* White text for overlay */
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
}

.hero-overlay h1 {
    font-size: 60px; /* Larger title for impact */
    font-weight: bold;
    color: #ffffff; /* White for contrast */
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for readability */
    margin-bottom: 20px; /* Adds spacing below the title */
    letter-spacing: 2px; /* Slight spacing for elegance */
    text-transform: uppercase; /* Optional: Makes the title more striking */
    animation: fade-in 1.5s ease; /* Adds a smooth fade-in effect */
}

.hero-overlay p {
    font-size: 24px; /* Larger subtitle text */
    font-weight: 300; /* Lighter font weight for contrast with the title */
    color: #ffffff; /* White for consistency */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    margin-top: 10px;
    animation: slide-in 1.5s ease; /* Subtle sliding animation */
}
@media (max-width: 480px) {
    #hero {
        height: 85vh; /* Set the height to 50% of the viewport */
    }

    .hero-video {
        height: 100%; /* Ensure the video fills the adjusted height */
    }

    .hero-video-content {
        object-fit: cover; /* Ensure the video adjusts to fit without distortion */
        height: 100%;
        width: 100%;
    }

    .hero-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%; /* Center content within the new hero height */
    }

    .hero-overlay h1 {
        font-size: 24px; /* Reduce font size for smaller screens */
        margin-bottom: 10px;
    }

    .hero-overlay p {
        font-size: 14px; /* Adjust paragraph font size for smaller screens */
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-overlay h1 {
    font-size: 36px; /* Smaller title size */
    font-weight: bold; /* Keeps it strong and impactful */
    color: #ffffff; /* Clean white for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Subtle shadow for readability */
    margin-bottom: 10px; /* Slightly reduced spacing below the title */
    letter-spacing: 1px; /* Refined spacing between letters */
    text-transform: uppercase; /* Consistent professional style */
}

.hero-overlay p {
    font-size: 16px; /* Smaller subtitle text */
    font-weight: 300; /* Lighter weight for contrast with the title */
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Depth for readability */
    margin-top: 10px;
}

/* Services Section */
#services {
    text-align: center;
    margin: 80px 20px;
}

#services h2 {
    font-size: 36px; /* Larger and more prominent */
    font-weight: bold; /* Makes the header more striking */
    color: #d4af37; /* Gold color to match the theme */
    margin-bottom: 30px; /* Adds more space below the header */
    text-transform: uppercase; /* Optional: Makes the header text uppercase */
    letter-spacing: 2px; /* Adds slight spacing between letters for a premium look */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

/* Ensure services section is visible at all screen sizes */
/* Services Section */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Smaller buttons with responsiveness */
    gap: 15px; /* Adds spacing between buttons */
    max-width: 800px; /* Limit width for smaller screens */
    margin: 0 auto; /* Center the grid */
}

.service-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px; /* Increased padding for a bigger button */
    background: #000000; /* Black background */
    color: #ffffff; /* White text */
    border: 2px solid #d4af37; /* Gold border */
    border-radius: 30px; /* More rounded corners */
    font-size: 20px; /* Larger text size */
    font-weight: bold; /* Make the text stand out */
    text-decoration: none; /* Removes underlining */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow for emphasis */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px; /* Increase height for a more prominent button */
}

.service-item:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.6); /* Enhanced glow on hover */
    background: #d4af37; /* Change background to gold on hover */
    color: #000; /* Black text on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* Two buttons per row for smaller screens */
    }
}

@media (max-width: 480px) {
    .service-container {
        grid-template-columns: 1fr; /* One button per row for mobile */
    }

    .service-item {
        font-size: 25px; /* Adjust font size for mobile */
        padding: 10px; /* Smaller padding for mobile */
    }
}

/* Subtle glowing effect */
.service-item::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(255, 223, 0, 0.2), transparent);
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    z-index: -1;
}

.service-item:hover::before {
    opacity: 1;
    transform: scale(1.2); /* Slightly expands the glow */
}

/* Gentle text bounce */
.service-item:hover span {
    animation: gentle-bounce 0.8s infinite alternate ease-in-out; /* Smoother bounce */
}

@media (max-width: 480px) {
    .service-section {
        display: flex;
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center-align content */
        text-align: center; /* Center text */
        padding: 15px; /* Add more padding */
        border: 1px solid #d4af37; /* Gold border */
        border-radius: 15px; /* Increase border radius for a smoother look */
        background-color: #ffffff; /* Light background */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
        margin: 20px 10px; /* Add spacing between blocks */
    }

    .service-image {
        width: 100px; /* Smaller image size */
        height: 100px;
        object-fit: cover; /* Ensure the image looks good */
        border-radius: 10px; /* Rounded image corners */
        margin-bottom: 10px; /* Space between image and text */
    }

    .service-description h3 {
        font-size: 18px; /* Slightly smaller heading */
        color: #000; /* Black heading text */
        margin-bottom: 10px; /* Add space below heading */
    }

    .service-description p {
        font-size: 14px; /* Smaller paragraph text for readability */
        color: #555; /* Dark gray text */
        line-height: 1.6; /* Improve text spacing */
    }

    /* Add spacing between service sections */
    .service-container {
        margin-bottom: 20px;
    }
}

@keyframes gentle-bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-6px); /* Smaller, gentler movement */
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: repeat(3, 1fr); /* 3 per row for smaller screens */
    }
}

@media (max-width: 768px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row for tablets */
    }
}

@media (max-width: 480px) {
    .service-container {
        grid-template-columns: 1fr; /* 1 per row for mobile */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 calc(50% - 20px); /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .service-item {
        flex: 1 1 100%; /* One item per row on small screens */
    }
}

/* Footer Styling */
/* Footer Styling */
.epic-footer {
    background: linear-gradient(135deg, #000000, #d4af37); /* Black to gold gradient */
    padding: 30px 0;
    text-align: center;
    color: #ffffff; /* White text */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow above footer */
    margin-top: 50px; /* Space above footer */
    font-size: 16px;
}

/* Footer Content */
.epic-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between elements */
}

/* Buttons Container */
.footer-buttons {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Align vertically */
    gap: 20px; /* Space between buttons */
}

/* Image Buttons */
.footer-image-button {
    width: 70px; /* Smaller button size */
    height: 70px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Rounded corners */
}

.footer-image-button:hover {
    transform: scale(1.2); /* Slightly enlarge on hover */
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.5); /* Gold glow effect */
}

/* Email Display */
.footer-email {
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black box */
    padding: 10px 20px;
    border-radius: 10px;
    text-shadow: 1px 1px 4px rgba(212, 175, 55, 0.5); /* Gold shadow for depth */
    color: #ffffff; /* White text for contrast */
}

.footer-email a {
    color: #d4af37; /* Gold link color */
    text-decoration: none;
    font-weight: bold;
}

.footer-email a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Bottom Footer (Rights Reserved) */
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Thin white border for separation */
    padding-top: 10px;
    font-size: 14px; /* Smaller text size */
    color: rgba(255, 255, 255, 0.8); /* Softer white */
}

#detailed-services {
    margin: 50px auto;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #d4af37; /* Gold border */
    border-radius: 10px;
    background-color: #f9f9f9; /* Light gray background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.service-description {
    flex: 1;
}

.service-description h3 {
    margin: 0;
    font-size: 20px;
    color: #000000; /* Black heading */
}

.service-description p {
    margin: 10px 0 0;
    color: #555555; /* Dark gray text */
    line-height: 1.6;
}

/* Mobile view adjustments */
@media (max-width: 480px) {
    #main-header {
        height: auto;
        padding: 5px 10px; /* Minimize top and bottom space */
    }

    .nav-links-container {
        gap: 5px; /* Minimize space between buttons */
    }
}

/* Mobile view adjustments */
@media (max-width: 480px) {
    .nav-links a, cta-button{
    background: linear-gradient(135deg, #d4af37, #b88d2e);
    color: #000; /* Black text */
    font-size: 8px; /* Adjust size for readability */
    font-weight: bold;
    padding: 10px 20px; /* Increase padding for clickability */
    text-decoration: none;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth hover transitions */
}

.nav-links a:hover {
    background-color: #f1c40f; /* Brighter gold */
    color: #000;
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

}

/* Desktop view adjustments */
@media (min-width: 481px) {
    .hamburger-menu {
        display: none; /* Hide the hamburger menu */
    }

    .nav-links-container,
    .cta-button{
        display: flex; /* Horizontal navigation by default */
        flex-direction: row;
        gap: 20px;
    }

    .nav-link {
        color: #fff;
        text-decoration: none;
        padding: 8px 15px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .nav-link:hover {
        background-color: #d4af37; /* Gold background on hover */
        color: #000;
    }
}

@media (max-width: 480px) {
    .logo {
        display: none; /* Hides the logo text in mobile view */
    }
}