/* Reset and Base Styles */
:root {
    --primary: #4169e1;   /* Royal Blue */
    --secondary: #00b970; /* Vibrant Green */
    --dark: #2c3e50;      /* Dark Gray-Blue */
    --light: #f7f9fc;     /* Soft Off-White */
    --gray: #8894a4;      /* Muted Gray */
    --white: #ffffff;     /* Pure white */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 12px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 12px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.quote-btn .btn {
    background: var(--primary);
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/home-banner.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-banner p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-banner .btn {
    animation: fadeIn 1.5s ease;
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: var(--light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
    box-shadow: var(--shadow);
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.category-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
}

.category-item p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.6;
}

.category-item a {
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.category-item a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* About Preview */
.about-preview {
    padding: 100px 0;
    background: var(--dark);
    color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/page-banner.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Products Navigation */
.products-nav {
    background: var(--dark);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 90;
}

.products-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.products-nav ul li {
    margin: 5px 10px;
}

.products-nav ul li a {
    color: var(--light);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
    display: block;
}

.products-nav ul li a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Product Categories */
.product-category {
    padding: 100px 0;
}

.product-category:nth-child(even) {
    background: var(--light);
}
.product-category:nth-child(odd) {
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: var(--white);
    color: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 25px 20px;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.3rem;
}

.product-item .btn {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.product-item .btn:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Services Grid */
.services-content {
    padding: 100px 0;
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    background: var(--white);
    color: var(--dark);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-item h3 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-item ul {
    text-align: left;
}

.service-item ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
}

.service-item ul li::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.services-cta {
    text-align: center;
    background: var(--light);
    color: var(--dark);
    padding: 60px 40px;
    border-radius: 15px;
}

.services-cta h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2.2rem;
}

.services-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-content {
    padding: 100px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 40px;
    color: var(--dark);
    font-size: 2.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.2rem;
}

.info-item p {
    color: var(--gray);
}

.contact-form h2 {
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 2.2rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray);
    background: var(--white);
    color: var(--dark);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
    font-size: 2.2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

/* Quote Form Section */
.quote-form-section {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    background: var(--light);
}

.quote-form h2 {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 2.2rem;
}

.quote-form > p {
    margin-bottom: 40px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-info h3 {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.5rem;
}

.quote-info ul {
    margin-bottom: 40px;
}

.quote-info ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
}

.quote-info ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-direct {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
}

.contact-direct h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-direct p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-direct strong {
    color: var(--dark);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
}

.footer-section h4 {
    margin-bottom: 25px;
    color: var(--white);
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.footer-section a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .quote-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        animation: slideDown 0.5s ease forwards;
    }

    header nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .quote-btn {
        display: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}