/* General Styles */
:root {
    --primary-color: #e44d26; /* Orange/Red accent */
    --secondary-color: #333; /* Dark grey for elements */
    --background-dark: #1a1a1a; /* Very dark background */
    --text-light: #f0f0f0;
    --text-dark: #333;
    --font-family: 'Arial', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-light);
    background: var(--background-dark);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background: url('images/gallery-2.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    margin: 0 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    font-weight: bold;
}

.cta-buttons .btn:hover {
    background: #c73c1c;
    transform: translateY(-3px);
    text-decoration: none;
}

.cta-buttons .btn.secondary {
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.cta-buttons .btn.secondary:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

#about p, #quality-materials p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

/* Services Preview */
#services-preview .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

#services-preview .card {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services-preview .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

#services-preview .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

#services-preview .card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#services-preview .card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

#services-preview .btn {
    margin-top: 40px;
}

/* Why Choose Us */
#why-choose-us ul {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
}

#why-choose-us li {
    background: var(--secondary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

#why-choose-us li:hover {
    transform: translateX(5px);
}

/* Services Page Specific */
#services-intro h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#services-intro p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15rem;
}

#service-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
}

.service-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    width: 45%; /* Adjust for two columns */
    min-width: 300px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: var(--text-light);
}

#gallery .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

#gallery .image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .image-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Contact Page Specific */
#contact-info h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#contact-info p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.15rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.detail-item {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    width: 280px;
    text-align: left;
}

.detail-item h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.detail-item p {
    font-size: 1.05rem;
}

.detail-item a {
    color: var(--text-light);
}

.detail-item a:hover {
    color: var(--primary-color);
}

#contact-form form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #2a2a2a;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(228, 77, 38, 0.5);
}

#contact-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover {
    background: #c73c1c;
    transform: translateY(-3px);
}

#location-map .map-placeholder {
    margin-top: 40px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#location-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--secondary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease-in;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        margin: 10px 0;
        display: block;
    }

    #services-preview .card {
        width: 90%;
    }

    .service-item {
        width: 90%;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .detail-item {
        width: 90%;
    }

    #contact-form form {
        padding: 20px;
    }

    #location-map iframe {
        height: 300px;
    }
}

/* Burger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Keyframes for Nav Link Fade In */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: #fff;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
