/* ============================================
   NINFAS CORPORATE OFFICE - WALLPAPER INSTALLATION
   Premium Contractor Website CSS
   Design: Modern, Professional, Elegant
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: #1a472a;
    letter-spacing: -1px;
}

.logo-text {
    background: linear-gradient(135deg, #1a472a 0%, #2c5f47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a472a, #2c5f47);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #1a472a;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.85) 0%, rgba(44, 95, 71, 0.85) 100%),
                url('https://d2xsxph8kpxj0f.cloudfront.net/310519663402511680/VnDVN8jRwArukFx4HbkeBT/hero-wallpaper-texture-houston-mEB6Unft7QRbQv6rwjdnx7.webp') center/cover;
    background-attachment: fixed;
    color: #ffffff;
    padding: 120px 2rem;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a472a;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 80px 2rem;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.about .container {
    max-width: 900px;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a472a;
    text-align: center;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 80px 2rem;
    background-color: #ffffff;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a472a;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a472a;
    padding: 20px 20px 10px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f0f4f1 0%, #e8f0eb 100%);
}

.why-choose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a472a;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.reason-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reason-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.reason-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 12px;
}

.reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews {
    padding: 80px 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a472a;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.review-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #1a472a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    font-size: 14px;
    font-weight: 600;
    color: #1a472a;
}

/* ============================================
   SERVICE AREAS SECTION
   ============================================ */

.service-areas {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #1a472a 0%, #2c5f47 100%);
    color: #ffffff;
}

.service-areas h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.service-areas p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.area-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.area-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 80px 2rem;
    background-color: #ffffff;
}

.faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a472a;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1a472a;
    box-shadow: 0 6px 20px rgba(26, 71, 42, 0.1);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 2rem;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a472a;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a472a;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-info a {
    color: #1a472a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #2c5f47;
    text-decoration: underline;
}

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a472a;
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

.submit-button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #1a472a 0%, #2c5f47 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 71, 42, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #155724;
}

.success-message h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1a472a 0%, #0f2818 100%);
    color: #ffffff;
    padding: 60px 2rem 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.8;
}

/* ============================================
   CONTAINER & UTILITIES
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 2rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 2rem;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .about h2,
    .services h2,
    .why-choose h2,
    .reviews h2,
    .faq h2,
    .contact h2,
    .service-areas h2 {
        font-size: 32px;
    }

    .services-grid,
    .reasons-grid,
    .reviews-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .areas-list {
        gap: 10px;
    }

    .area-badge {
        font-size: 13px;
        padding: 8px 16px;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .about,
    .services,
    .why-choose,
    .reviews,
    .service-areas,
    .faq,
    .contact {
        padding: 60px 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .about h2,
    .services h2,
    .why-choose h2,
    .reviews h2,
    .faq h2,
    .contact h2,
    .service-areas h2 {
        font-size: 24px;
    }

    .service-card h3,
    .reason-card h3 {
        font-size: 18px;
    }

    .nav-logo {
        font-size: 22px;
    }

    .contact-info h3 {
        font-size: 20px;
    }

    .footer-section h4 {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 13px;
    }
}

/* Error Message Styling */
.error-message {
    color: #ff6b6b;
    margin-top: 5px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
