/* ========================================
   WAREHOUSE ROOFING PANELS - CSS STYLESHEET
   Color Theme: #636B2F, #7B853A, #A7B454, #CFD6A1
   ======================================== */

/* Root Variables */
:root {
    --primary-dark: #636B2F;
    --primary-green: #7B853A;
    --primary-light: #A7B454;
    --primary-lighter: #CFD6A1;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #FAFAF8;
    --border-color: #E8E8E6;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 30px;
    height: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--primary-green);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS & CTAs
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-lighter);
    box-shadow: 0 8px 24px rgba(167, 180, 84, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-lighter);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid var(--primary-light);
    background-color: transparent;
    color: var(--primary-light);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */

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

section {
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   INTRODUCTION SECTION
   ======================================== */

.intro-section {
    background-color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.intro-content h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.intro-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.intro-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 18px;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
    background-color: var(--primary-lighter);
    padding: 40px 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-form h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(99, 107, 47, 0.3);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(123, 133, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* ========================================
   FEATURES/OFFER SECTION
   ======================================== */

.features-section {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(123, 133, 58, 0.15);
    transform: translateY(-5px);
}

.feature-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   WHY SECTION
   ======================================== */

.why-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.why-card:hover {
    box-shadow: 0 12px 35px rgba(123, 133, 58, 0.2);
    transform: translateY(-8px);
}

.why-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.why-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
    background-color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.process-step {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: var(--primary-light);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section {
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.products-full-width {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.product-image-full {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
}

.product-image-full img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(123, 133, 58, 0.2);
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.product-image svg {
    width: 80px;
    height: 80px;
    color: var(--white);
    opacity: 0.9;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.product-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--text-light);
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.product-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-uses {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
}

.product-card .btn {
    padding: 8px 16px;
    font-size: 12px;
}

.products-full-width > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.products-full-width > div:last-child h3 {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 10px;
}

.products-full-width > div:last-child > p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.products-full-width > div:last-child > div {
    margin: 10px 0 !important;
}

.products-full-width .btn {
    width: fit-content;
    padding: 12px 28px;
}

/* ========================================
   TRUST SIGNALS
   ======================================== */

.trust-section {
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.trust-card {
    text-align: center;
    padding: 30px;
}

.trust-card svg {
    width: 50px;
    height: 50px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.trust-card h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

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

.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background-color: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: var(--primary-lighter);
    color: var(--white);
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

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

footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 50px 20px 20px;
}

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-lighter);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary-lighter);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-lighter);
}

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

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

.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image svg {
    width: 150px;
    height: 150px;
    color: var(--white);
    opacity: 0.9;
}

.about-content h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 18px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.sector-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.sector-card h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.sector-card p {
    font-size: 13px;
    color: var(--text-light);
}

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        padding: 10px 0;
    }

    .mobile-menu {
        display: flex;
    }

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

    .contact-form {
        position: relative;
        top: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .products-full-width {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        padding: 60px 20px;
    }

    section {
        padding: 50px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-step:not(:last-child)::after {
        content: '';
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    nav ul {
        gap: 10px;
    }

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

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

    .section-title {
        font-size: 24px;
    }

    .intro-content h2 {
        font-size: 24px;
    }

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

    .about-image {
        height: 250px;
    }
}