/* css/style.css */

:root {
    --primary: #00ffff;
    --secondary: #0099ff;
    --accent: #6600ff;
    --dark-bg: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    --card-bg: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(102, 0, 255, 0.1));
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background: var(--dark-bg);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img {
    height: 50px;
    /* This CSS filter makes your colorful logo match the neon theme! */
    filter: grayscale(1) brightness(2.5) sepia(1) hue-rotate(140deg);
    transition: filter 0.3s ease;
}
.logo img:hover {
    filter: grayscale(0) brightness(1.2); /* On hover, show original colors */
}
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    color: var(--primary);
}
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* --- Hero & Banners --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.hero-content { z-index: 10; animation: fadeInUp 1s ease-out; }
.hero h1 {
    font-size: 5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    line-height: 1.2;
}
.hero p { font-size: 1.8rem; margin-bottom: 40px; opacity: 0.9; color: var(--text-light); }
.cta-buttons { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.cta-button { padding: 18px 35px; border: none; border-radius: 50px; font-size: 18px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cta-primary { background: linear-gradient(45deg, var(--primary), var(--secondary)); color: #000; }
.cta-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4); }

/* --- General Section & Page Styling --- */
.page-banner {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
}
.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-banner p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}
.section { padding: 100px 30px; }

/* --- Cards --- */
.solar-panel-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}
.panel-feature {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.panel-feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.3);
    border-color: var(--primary);
}
.panel-image { height: 250px; background-size: cover; background-position: center; }
.panel-content { padding: 25px; }
.panel-content h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.5rem; }
.panel-content p { color: var(--text-light); opacity: 0.8; }

/* --- Contact Form --- */
.contact-form { max-width: 800px; margin: 60px auto 0; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 20px; padding: 40px; backdrop-filter: blur(10px); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; color: var(--primary); }
.form-control { width: 100%; padding: 15px; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 10px; color: white; font-size: 1rem; transition: all 0.3s ease; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
textarea.form-control { min-height: 150px; resize: vertical; }
.submit-btn { /* Uses .cta-button styles */ }

/* --- Footer --- */
footer { background: rgba(0, 0, 0, 0.8); padding: 60px 0 30px; border-top: 1px solid rgba(0, 255, 255, 0.2); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-about .logo img { filter: none; opacity: 0.8; transition: opacity 0.3s; } /* Footer logo has original colors */
.footer-about .logo img:hover { opacity: 1; }
.footer-about p { color: var(--text-muted); margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-link { color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; text-decoration: none; }
.social-link:hover { background: var(--primary); color: black; transform: translateY(-3px); }
.footer-links h3 { color: var(--primary); margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; margin-top: 60px; color: var(--text-muted); font-size: 0.9rem; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* --- Animations & Responsive --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; } .hero p { font-size: 1.2rem; }
    .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); flex-direction: column; align-items: center; padding: 30px 0; gap: 20px; transition: left 0.5s ease; }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
}