/* ===========================
   ELECTROLAB WEBSITE STYLESHEET - MODERN REDESIGN
   =========================== */

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e40af;
    --accent-color: #f97316;
    --accent-light: #fed7aa;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
}

* {
    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: #fff;
}

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

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

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2341 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
}

/* ===========================
   HAMBURGER MENU
   =========================== */

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    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);
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero .btn {
    margin-top: 1rem;
}

/* ===========================
   PAGE HEADER
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

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

.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-features {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--accent-color);
}

.about-features h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.about-features ul {
    list-style: none;
}

.about-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ===========================
   PRODUCTS PREVIEW
   =========================== */

.products-preview {
    padding: 5rem 0;
}

.products-preview h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

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

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-features li:before {
    content: "▪ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

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

.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

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

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.feature-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   PRODUCTS SECTION (DETAIL)
   =========================== */

.products {
    padding: 3rem 0;
}

.product-detail {
    margin-bottom: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.product-detail:hover {
    box-shadow: var(--card-shadow-hover);
}

.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.product-detail-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
}

.product-badge {
    background: linear-gradient(135deg, var(--accent-color) 0%, #fb923c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.product-description h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.product-description h3:first-child {
    margin-top: 0;
}

.product-description p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

.features-list li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: var(--text-light);
    position: relative;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.product-specs {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.product-specs h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--primary-color);
    flex: 0 0 50%;
}

.spec-value {
    color: var(--text-light);
    text-align: right;
}

.product-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
}

/* ===========================
   ACCESSORIES SECTION
   =========================== */

.accessories {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.accessories h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.accessories-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.accessories-column ul {
    list-style: none;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.accessories-column li {
    padding: 0.7rem 0;
    color: var(--text-light);
}

.accessories-column li:before {
    content: "• ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===========================
   SPECIFICATIONS SECTION
   =========================== */

.specifications {
    padding: 3rem 0;
}

.spec-section {
    margin-bottom: 3rem;
}

.spec-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.spec-section h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.spec-table-wrapper {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 1rem;
    text-align: left;
    color: var(--text-light);
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 30%;
}

.spec-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
}

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

.features-list-detailed h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list-detailed ul {
    list-style: none;
}

.features-list-detailed li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: var(--text-light);
    position: relative;
}

.features-list-detailed li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

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

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

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 500;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

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

.faq-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   MAP SECTION
   =========================== */

.map-section {
    padding: 3rem 0;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.map-section > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

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

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2341 100%);
    color: white;
    padding: 4rem 0 1.5rem;
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

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

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom-color: transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: rgba(230, 126, 34, 0.1);
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

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

    .page-header h1 {
        font-size: 1.8rem;
    }

    .product-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .spec-table td {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .accessories-list {
        grid-template-columns: 1fr;
    }

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

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

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

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.5rem !important;
    }

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

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

    .product-features,
    .spec-table {
        font-size: 0.9rem;
    }

    .form {
        padding: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}