/* ============================================
   EcoWise - Professional CSS Stylesheet
   Energy Efficiency Solutions
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2937;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: #FF9500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E68A00;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #1f2937;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF9500;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

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

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

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

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

.btn-primary-mobile {
    display: none;
}

.btn-desktop {
    display: inline-block;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #FF9500;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #E68A00;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border: 2px solid #1f2937;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1f2937;
    color: #ffffff;
}

.btn-cta {
    display: inline-block;
    background-color: #FF9500;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #E68A00;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.hero-text .highlight {
    color: #FF9500;
}

.badge {
    display: inline-block;
    background-color: #FEF3C7;
    color: #FF9500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Statistics Section */
.stats {
    padding: 4rem 0;
    background-color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #FF9500;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-size: 1rem;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #FF9500;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
}

/* Building Envelope Section */
.building-envelope {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff;
    text-align: center;
}

.building-envelope h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.building-envelope p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.building-envelope .btn-primary {
    margin-top: 1rem;
}

/* Approach Section */
.approach {
    padding: 6rem 0;
    background-color: #ffffff;
}

.approach h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.approach-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #FF9500;
}

.approach-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF9500;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.approach-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.approach-card p {
    color: #6b7280;
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    text-align: center;
}

.founded-badge {
    display: inline-block;
    background-color: #FF9500;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.mission p {
    color: #374151;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-contact {
    padding: 4rem 0;
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
}

.cta-contact h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-contact p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Products Page */
.products-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    text-align: center;
}

.products-hero h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.products-hero p {
    color: #6b7280;
    font-size: 1.1rem;
}

.product-section {
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.section-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.section-number {
    font-size: 3rem;
    font-weight: 800;
    color: #FF9500;
    font-family: 'Poppins', sans-serif;
    min-width: 100px;
}

.section-info h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.section-info p {
    color: #6b7280;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 1rem;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.product-info h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.product-info p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF9500;
    font-weight: bold;
}

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

.products-grid .product-card {
    display: flex;
    flex-direction: column;
    grid-column: auto;
}

.products-grid .product-image {
    min-height: 250px;
}

/* Why Choose Products Section */
.why-choose-products {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.why-choose-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-item h3 {
    color: #FF9500;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #6b7280;
}

/* Contact Page */
.contact-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    text-align: center;
}

.contact-hero h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: #6b7280;
    font-size: 1.1rem;
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    color: #FF9500;
    margin-bottom: 0.5rem;
}

.info-block p {
    color: #6b7280;
}

.info-desc {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #FF9500;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #6b7280;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF9500;
}

.footer-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .btn-desktop {
        display: none;
    }

    .btn-primary-mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        padding: 0.75rem 1.5rem;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
    }

    .nav-content {
        position: relative;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .product-card {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta,
    button {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-content {
        position: relative;
        flex-wrap: nowrap;
        gap: 0;
    }

    .logo-img {
        width: 120px;
        height: auto;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        order: unset;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 350px;
    }

    .nav-links li {
        padding: 0.75rem 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

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

    .btn-primary,
    .btn-secondary,
    .btn-cta,
    button {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
    }

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

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

    .contact-form button {
        align-self: stretch;
    }
}
