/*
Theme Name: Hanuvolts
Theme URI: https://hanuvolts.com
Description: Premium Solar Energy Solutions Theme
Author: Antigravity
Version: 1.0.0
Text Domain: hanuvolts
*/

:root {
    --primary: #FFB800;
    /* Sun Gold */
    --primary-dark: #E6A600;
    --secondary: #0A192F;
    /* Deep Navy */
    --accent: #10B981;
    /* Eco Green */
    --background: #F8FAFC;
    --text: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(10, 25, 47, 0.85);
    --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

html,
body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Glass Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--glass-dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .nav-links a {
    color: var(--white);
}

.header.scrolled .logo img {
    height: 50px;
}

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

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo img {
    height: 65px;
    width: 65px;
    /* Forced square for perfect circle */
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

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

.nav-links a {
    color: var(--secondary);
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: 0.3s;
}

.header.scrolled .mobile-menu-btn span {
    background: var(--white);
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    padding: 120px 0 80px;
    background: var(--secondary);
    overflow: hidden;
}

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

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Features/Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

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

.contact-card {
    background: var(--background);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: var(--white);
}

footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 10000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav .btn-primary {
        display: none;
        /* Hide CTA on mobile nav for cleaner look, or move inside menu */
    }

    .hero {
        padding: 100px 0 60px;
        text-align: center;
        background-attachment: scroll !important;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero div[style*="display: flex"] {
        flex-direction: column;
        align-items: center;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .tilt-card {
        transform: none !important;
        transition: none !important;
    }

    .tilt-card:hover {
        transform: none !important;
    }

    section[style*="padding: 10rem 0"] {
        padding: 5rem 0 !important;
    }

    h2[style*="font-size: 3.5rem"] {
        font-size: 2.2rem !important;
    }

    h2[style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }

    h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    footer {
        padding: 4rem 1.5rem 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo img {
        height: 50px;
        width: 50px;
    }
}