/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #111, #333); /* Dark gradient background */
    color: #fff; /* White text for better readability */
    line-height: 1.6;
}

/* Logo Styles */
.logo img {
    height: 60px; /* Adjusted size */
    width: auto;
}

/* Header Styles */
/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background: #FFC300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; /* Adds padding for spacing */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-style: italic;
}

/* Logo Styles */
.logo img {
    height: 60px;
    width: auto;
}

/* Navigation Styles */
nav {
    flex: 2;
    display: flex;
    justify-content: center; /* Center the nav */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Adds space between links */
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #333; /* Darker color for hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* Button Styles */
.header-button {
    margin-left: auto; /* Pushes the button to the right */
}

.header-button .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000; /* Black button */
    color: #FFC300; /* Yellow text */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-right: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
}

.header-button .btn:hover {
    background-color: #E6A700; /* Slightly darker yellow on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* Mobile Navigation (Responsive Design) */

.hero {
    position: relative;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Ensure hero section doesn't get hidden under the fixed header */
    overflow: hidden; /* Ensures no extra scrolling */
    width: 100%; /* Full width */
    background: rgba(0, 0, 0, 0.5); /* Darkened overlay for better text visibility */
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Ensures the image covers its container */
    z-index: -1; /* Pushes the image behind the text */
 /* Softens the background image for readability */
}

/* Hero Content (Text) */
/* Hero Content (Text) */
.hero-content {
    position: relative;
    z-index: 2; /* Keeps text in front of the image */
    padding: 0 20px;
    max-width: 800px;
    text-align: center;
    margin-bottom: 150px;
    background: rgba(0, 0, 0, 0.6); /* Add background color with transparency */
    border-radius: 10px; /* Optional: Add rounded corners for aesthetic */
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adds a shadow for better text contrast */
    font-weight: bold;
    color: #FFC300;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Softens the text shadow for readability */
    color: #ddd; /* Slightly lighter color for the text */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FFC300; /* Same yellow as header */
    color: #000; /* Black text */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    margin-bottom: 10px;
}

.btn:hover {
    background-color: #E6A700; /* Slightly darker yellow on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* About Section */
#about {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a); /* Unique black with depth */
    padding: 80px 10%;
    color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    width: 55%;
    text-align: left; /* Aligns text from left to right */
}

.about-text h2 {
    font-size: 42px;
    color: #FFC300; /* Gold color for premium feel */
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    width: 40%;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.2); /* Subtle gold glow */
}

/* Services Section */
#services {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

#services h2 {
    font-size: 36px;
    color: #FFC300;
    margin-bottom: 40px;
}

#services p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
    line-height: 1.6;
}

.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}
.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px; /* Adjust as needed */
}


.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFC300;
    font-weight: bold;
}

.service p {
    flex-grow: 1; /* Ensures equal height for content */
}

.service-img {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.service-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.service-btn .btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #FFC300;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 80%; /* Makes all buttons the same width */
    max-width: 200px; /* Keeps them from getting too large */
}

.service-btn .btn:hover {
    background-color: #E6A700;
    transform: translateY(-2px);
}
.btn:hover {
    background-color: #E6A700;
    transform: translateY(-2px);
}

.service .btn:hover {
    background-color: #E6A700;
    transform: translateY(-2px);
}

/* Gallery Section */
#gallery {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a); /* Unique black with depth */
    padding: 60px 20px;
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* Contact Section */

/* General Styles for Contact Section */
#contact {
    padding: 80px 10%;
    background: linear-gradient(to right, #1a1a1a, #2a2a2a);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#contact h2 {
    font-size: 36px;
    color: #FFC300;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
}

/* Contact Content Layout */
.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Side: Contact Info */
.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info a {
    color: #FFC300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #E6A700;
}

.contact-info h3 {
    font-size: 22px;
    margin: 30px 0 20px;
    color: #FFC300;
}

.emergency-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000000; /* Change the yellow to red */
    color: #fff; /* Text color */
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.emergency-btn:hover {
    background-color: #C44226; /* Darker red on hover */
    transform: translateY(-2px);
}


/* Right Side: Contact Form */
.contact-form {
    flex: 1;
    min-width: 300px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #333;
    color: #fff;
    transition: background-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    background: #444;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form .btn {
    padding: 12px 30px;
    background-color: #FFC300;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact-form .btn:hover {
    background-color: #E6A700;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    #contact h2 {
        font-size: 28px;
    }

    .contact-info h3 {
        font-size: 20px;
    }
}
/* Footer Styles */
footer {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a); /* Dark gradient background */
    color: #fff; /* White text for better readability */
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #FFC300; /* Accent border at the top */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #FFC300; /* Yellow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #E6A700; /* Slightly darker yellow on hover */
}

.copyright {
    font-size: 16px;
    color: #ddd; /* Light gray for secondary text */
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info {
        font-size: 16px;
    }

    .copyright {
        font-size: 14px;
    }
}
/* Define the pop-up animation */
@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Apply the animation to the hero content */
.hero-content.pop-up {
    animation: popUp 0.3s ease-out forwards;
}
/* Define the pop-up animation */
@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Initially hidden */
.about-container {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0s ease-out, transform 0s ease-out;
}

/* Apply the animation when it becomes visible */
.about-container.pop-up {
    animation: popUp 0.3s ease-out forwards;
}
@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Initially hidden */


/* Initially hidden */
#contact {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0s ease-out, transform 0s ease-out;
}

/* Apply the animation when it becomes visible */
#contact.pop-up {
    animation: popUp 0.3s ease-out forwards;
}
/* Footer Styles */
footer {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a); /* Dark gradient background */
    color: #fff; /* White text for better readability */
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #FFC300; /* Yellow border */
}

footer p {
    font-size: 16px;
}

footer a {
    color: #FFC300; /* DKWebWorks yellow link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #E6A700; /* Slightly darker yellow for hover effect */
}


/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Adds space between links */
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #333; /* Darker color for hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* Button Styles */
.header-button .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000; /* Black button */
    color: #FFC300; /* Yellow text */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Mobile Navigation (Responsive Design) */
@media (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 10;
        background: #FFC300;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%; /* Adds padding for spacing */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
        font-style: italic;
    }
    
    /* Logo Styles */
    .logo img {
        height: 60px;
        width: auto;
    }

    nav {
        display: none; /* Hide the navbar */
    }
    .header-button {
        margin-left: 100px; /* Pushes the button to the right */
        
    }
    
    .header-button .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: #000; /* Black button */
        color: #FFC300; /* Yellow text */
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        margin-right: 180px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
        width: 90px;
    }
    
    .header-button .btn:hover {
        background-color: #E6A700; /* Slightly darker yellow on hover */
        transform: translateY(-2px); /* Subtle lift effect */
    }
}
/* Mobile Adjustments */
/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        margin-top: 85px; /* Pushes the hero section further below the header */
    }
}
@media (max-width: 768px) {
    #about {
        padding: 40px 5%; /* Reduce padding for smaller screens */
    }

    .about-container {
        flex-direction: column; /* Stack the text and image vertically */
        align-items: center; /* Center-align the content */
        gap: 30px; /* Reduced gap between text and image */
    }

    .about-text {
        width: 90%; /* Make the text take up more space on mobile */
        text-align: center; /* Center-align text for mobile */
    }

    .about-text h2 {
        font-size: 32px; /* Reduce font size for smaller screens */
    }

    .about-text p {
        font-size: 16px; /* Adjust paragraph text size */
    }

    .about-image {
        width: 80%; /* Make the image take up more space */
    }

    .about-image img {
        max-width: 100%; /* Make sure the image scales properly on mobile */
    }
}