@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #ff6600;
    --primary-hover: #e65c00;
    --dark: #1a1a1a;
    --darker: #111111;
    --gray-light: #f5f5f5;
    --gray: #888888;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    background-color: var(--darker);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo span {
    color: var(--gray);
    font-size: 12px;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

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

.btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    background-color: var(--darker);
    color: var(--white);
    padding: 120px 0 150px;
    position: relative;
    overflow: hidden;
    background-image: url('../../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.8) 40%, rgba(17,17,17,0.2) 100%);
    z-index: 1;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,42.7C1120,32,1280,32,1360,32L1440,32L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: #cccccc;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Services Grid */
.services {
    padding: 60px 0 80px;
    text-align: center;
    background-color: var(--white);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
    position: relative;
    padding-bottom: 50px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card .arrow-down {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
}

/* Specs Section */
.specs {
    padding: 30px 0 60px;
    background-color: var(--white);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.spec-icon {
    font-size: 36px;
    color: var(--dark);
    margin-top: 5px;
}

.spec-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.spec-item p {
    font-size: 14px;
    color: var(--gray);
}

/* Workflow Section */
.workflow {
    padding: 60px 0 80px;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    gap: 10px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: transparent;
    z-index: 1;
    border-top: 2px dashed #ccc;
}

.step {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--dark);
    background: var(--white);
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 26px;
    height: 26px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--gray);
}

/* Contact Area */
.contact-area {
    display: flex;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    gap: 20px;
    background: transparent;
    box-shadow: none;
}

.contact-left-block {
    flex: 1.2;
    background-color: var(--darker);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
    color: var(--white);
    padding: 40px;
}

.contact-map {
    flex: 1;
    background-color: #e5e5e5;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--primary);
}

.contact-form-wrap {
    flex: 1;
    background-color: var(--primary);
    padding: 40px;
    color: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    font-family: inherit;
    font-size: 14px;
}

textarea.form-control {
    height: 100px;
    resize: none;
}

select.form-control {
    appearance: none;
    cursor: pointer;
}

.contact-form-wrap .btn {
    background-color: var(--darker);
    width: auto;
    margin-top: 10px;
    padding: 15px 30px;
}

.contact-form-wrap .btn:hover {
    background-color: var(--dark);
}

/* Footer */
.footer {
    background-color: var(--darker);
    color: var(--gray);
    padding: 150px 0 20px;
    margin-top: -80px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    width: 100%;
}

@media (max-width: 768px) {
    .header .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .contact-area {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps::before {
        display: none;
    }
    
    .form-row {
        flex-direction: column;
    }
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--darker);
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
}
.dropdown-content a {
    color: var(--white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-content a:hover {
    background-color: var(--primary);
    color: var(--white);
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Panouri Page specific */
.product-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 180px 0 100px;
    color: var(--white);
}
.product-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 50%, rgba(17,17,17,0.2) 100%);
    z-index: 1;
}
.product-hero .container {
    position: relative;
    z-index: 2;
}
.product-mini-specs {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}
.product-mini-specs div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.img-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.img-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    position: relative;
}
.img-card:hover { transform: translateY(-10px); }
.img-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.img-card-content {
    padding: 20px;
    padding-bottom: 50px;
}
.img-card-content h3 { font-size: 18px; margin: 10px 0; }
.img-card-content p { font-size: 13px; color: var(--gray); }
.img-card .arrow-down {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    transform: none;
}
.img-card-icon {
    position: absolute;
    top: 160px;
    left: 20px;
    width: 40px; height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 20px;
}

/* Why Choose Us (Dark Section) */
.why-dark {
    background-color: var(--darker);
    color: var(--white);
    padding: 100px 0 80px;
    margin-top: -40px;
    padding-top: 140px; /* space for overlapping cards */
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.why-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}
.why-item h4 { font-size: 15px; margin-bottom: 10px; }
.why-item p { font-size: 12px; color: #ccc; }

/* Materials */
.materials { padding: 80px 0; background: var(--gray-light); }
.materials-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}
.mat-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.mat-card img { width: 100%; height: 100px; object-fit: cover; }
.mat-card-content { padding: 15px; }
.mat-card-content h4 { font-size: 14px; margin-bottom: 8px; }
.mat-card-content ul { list-style: none; padding: 0; margin: 0; }
.mat-card-content ul li {
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 4px;
    position: relative;
    padding-left: 10px;
}
.mat-card-content ul li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Portfolio grid small */
.port-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.port-img {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ */
.faq { padding: 80px 0; background: var(--darker); color: var(--white); }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.faq-item {
    background: var(--white);
    color: var(--dark);
    padding: 20px;
    border-radius: 8px;
}
.faq-item h4 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}
.faq-item p { font-size: 14px; color: var(--gray); margin: 0; }
.faq-item h4 i { color: var(--primary); }


/* Hero Split (Flyere) */
.hero-split {
    padding: 160px 0 80px;
    background: var(--white);
    color: var(--dark);
}
.hero-split .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.hero-split-text {
    flex: 1;
}
.hero-split-text h1 {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-split-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}
.hero-split-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-split-image {
    flex: 1;
    text-align: center;
}
.hero-split-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}
.hero-mini-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.hero-mini-specs .spec-item {
    text-align: center;
    flex: 1;
}
.hero-mini-specs .spec-item i {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 10px;
    display: block;
}
.hero-mini-specs .spec-item span {
    font-size: 13px;
    font-weight: bold;
    color: var(--dark);
}

.cta-bar {
    background: var(--darker);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
.cta-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cta-bar-left i {
    font-size: 40px;
    color: var(--primary);
}
.cta-bar-left h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.cta-bar-left p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}
.cta-bar-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.cta-bar-btn:hover {
    background: #e65c00;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile & Tablet)
========================================= */

/* Tablet and below */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }
    
    .product-hero h1, .hero-split-text h1 {
        font-size: 40px !important;
    }
    
    .hero-split .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-split-image {
        margin-top: 40px;
    }

    .contact-area {
        flex-direction: column;
    }
    
    .contact-left-block {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-col {
        flex: 1 1 45%;
    }
    
    .img-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .port-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Header & Navigation */
    .header .container {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #333;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .header .btn {
        display: none !important;
    }
    
    /* Hamburger Menu Button */
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        color: var(--white);
        font-size: 32px;
        cursor: pointer;
    }

    .product-hero h1, .hero-split-text h1 {
        font-size: 32px !important;
    }
    .product-hero p, .hero-split-text p {
        font-size: 16px !important;
    }

    .product-mini-specs {
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-mini-specs > div {
        flex: 1 1 45%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .hero-mini-specs {
        flex-wrap: wrap;
    }
    .hero-mini-specs .spec-item {
        flex: 1 1 45%;
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .img-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .port-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-col {
        flex: 1 1 100%;
    }
    
    .cta-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cta-bar-left {
        flex-direction: column;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        margin-top: 10px;
        padding: 0;
    }
    .dropdown:hover .dropdown-content, .dropdown.active .dropdown-content {
        display: block;
    }
    .dropdown-content a {
        color: var(--gray) !important;
        padding: 10px 0;
    }
    .dropdown-content a:hover {
        color: var(--primary) !important;
    }
}
.mobile-menu-btn {
    display: none;
}

/* Additional Mobile Fixes for Homepage Hero */
@media (max-width: 991px) {
    .hero h1 { font-size: 40px !important; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 32px !important; }
    .hero p { font-size: 16px !important; }
    .hero .container { flex-direction: column; text-align: center; }
    .workflow-line { display: none; } /* Hide the decorative line on mobile workflow */
    .contact-form-wrap { width: 100%; box-sizing: border-box; }
}

/* Fix for Homepage Services Grid & Specs Overflow */
@media (max-width: 991px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .specs-grid { grid-template-columns: 1fr; }
    .hero { overflow-x: hidden; width: 100%; max-width: 100vw; }
    body { max-width: 100vw; overflow-x: hidden; }
}
