/* ========================================
   SILENTVOLT WEBSITE – FINAL STYLESHEET
   Green Theme | Mobile-First | Fully Responsive
   ======================================== */

:root {
    --primary: #1a3a2f;          /* Deep forest green */
    --secondary: #2c5d4f;        /* Rich teal */
    --accent: #38b27f;           /* Vibrant leaf green */
    --light: #f9faf8;            /* Warm off-white */
    --dark: #1a202c;             /* Near-black text */
    --gray: #6b7280;             /* Neutral gray */
    --success: #38b27f;
    --card-shadow: 0 4px 12px rgba(26, 58, 47, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px rgba(56, 178, 127, 0.2);
}

.btn-primary:hover {
    background-color: #2da26f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(56, 178, 127, 0.3);
}

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

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

/* ============== HEADER ============== */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    transition: color 0.3s ease;
}

.logo:hover h1 {
    color: var(--accent);
}

/* ============== MOBILE MENU ============== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

/* ============== HERO ============== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-sm {
    padding: 60px 0;
}

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

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

/* ============== FEATURES ============== */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 58, 47, 0.12);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 58, 47, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* ============== BENEFITS ============== */
.benefits {
    padding: 80px 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.benefits-text ul {
    list-style: none;
    margin-top: 20px;
}

.benefits-text ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.benefits-text ul li i {
    color: var(--success);
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1.1rem;
}

.benefits-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

/* ============== CTA ============== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ============== FOOTER ============== */
.footer {
    background-color: #0f1714;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-links h3,
.footer-legal h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 0.9rem;
}

/* ============== PRODUCTS ============== */
.products {
    padding: 80px 0;
}

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

    .product-card.reverse {
        direction: ltr;
        text-align: left;
    }

.product-card.reverse .product-info {
    direction: ltr;
}

.product-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.product-info h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.specs {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

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

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

.spec-item .label {
    font-weight: 600;
    color: var(--gray);
}

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

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--success);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* === PRODUCT CAROUSEL === */
.product-image-carousel {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.carousel {
    width: 100%;
    height: 400px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

/* Responsive */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
}

/* ============== COMPARISON ============== */
.comparison {
    padding: 80px 0;
    background-color: var(--light);
}

.comparison h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 700;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-cell {
    padding: 15px;
    text-align: center;
}

.comparison-cell.header {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-row.total {
    background-color: #ecfdf5;
    font-weight: 700;
    color: var(--primary);
}

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

.comparison-benefits .benefit {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e5e7eb;
}

.comparison-benefits .benefit i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.comparison-benefits .benefit h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

/* ============== PRICING (RENT) ============== */
.pricing {
    padding: 80px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pricing-header p {
    color: var(--gray);
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 58, 47, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
}

.pricing-header-box {
    background: var(--primary);
    color: white;
    padding: 25px;
    text-align: center;
}

.pricing-header-box h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.pricing-header-box .note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-prices {
    padding: 20px;
    text-align: center;
}

.price-item {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

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

.price-item .period {
    color: var(--gray);
}

.price-item .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}
.pricing-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.pricing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* ============== ADDITIONAL COSTS ============== */
.additional-costs {
    padding: 80px 0;
    background-color: var(--light);
}

.additional-costs h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 700;
}

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

.cost-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e5e7eb;
}

.cost-item h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.cost-item ul {
    list-style: none;
}

.cost-item ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.cost-item ul li i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

/* ============== ABOUT ============== */
.about-content {
    padding: 80px 0;
}

.about-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

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

.value-item {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.why-choose {
    padding: 80px 0;
    background-color: var(--light);
}

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

.reason-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid #e5e7eb;
}

.reason-item .icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 58, 47, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.reason-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* ============== CONTACT ============== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-right: 20px;
    min-width: 30px;
    align-self: flex-start;
    margin-top: 5px;
}

.info-item h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 178, 127, 0.15);
}

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

.map-section {
    padding: 60px 0;
    background-color: var(--light);
}

.map-section h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.map-placeholder {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    border: 1px solid #e5e7eb;
    box-shadow: var(--card-shadow);
}

/* ============== LEGAL PAGES ============== */
.legal-page {
    padding: 60px 0 80px;
}

.legal-page .container {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e5e7eb;
    line-height: 1.7;
    color: var(--dark);
}

.legal-page h1 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.legal-page p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.legal-page em {
    display: block;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--gray);
    font-style: italic;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--secondary);
}

/* === MOBILE MENU – CSS-ONLY WORKING VERSION === */
.menu-toggle-input {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 25px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* Hide desktop nav */
    .main-nav ul {
        display: none;
    }

    /* Show mobile menu when checkbox is checked */
    .menu-toggle-input:checked ~ .main-nav ul {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .menu-toggle-input:checked ~ .main-nav ul li {
        margin: 0;
    }

    .menu-toggle-input:checked ~ .main-nav ul li a {
        font-size: 1.4rem;
        color: var(--dark);
        text-decoration: none;
        padding: 12px 24px;
        display: block;
    }

    /* Optional: close button style (not needed — tapping outside closes it) */
}

    /* Layout adjustments */
    .hero-content h1 { font-size: 2rem; }
    .benefits-content,
    .product-card,
    .about-content .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .benefits-image,
    .product-image,
    .about-image {
        order: -1;
    }
    .comparison-row {
        grid-template-columns: 1fr;
    }
    .comparison-cell.header {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
}