/* --- CSS Variables --- */
:root {
    --color-black: #0B0B0B;
    --color-black-light: #161616;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-white: #FFFFFF;
    --color-gray: #A0A0A0;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Layout & Typography --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.dark-bg {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-light) 100%);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.divider {
    height: 2px;
    width: 60px;
    background: var(--color-gold);
    margin: 0 auto 15px auto;
}

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

.gold-text {
    color: var(--color-gold);
}

/* --- Glassmorphism --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.05);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-black);
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-full {
    width: 100%;
}

.btn-link {
    color: var(--color-gold);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 15px;
    display: inline-block;
}

.btn-link:hover {
    color: var(--color-gold-light);
    transform: translateX(5px);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 20px;
}

.mission-list li {
    margin-bottom: 15px;
    color: var(--color-gray);
}

.mission-list strong {
    color: var(--color-white);
}

.founder-card {
    padding: 40px;
    text-align: center;
}

.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--color-gold);
}

.founder-card h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.designation {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.founder-quote {
    font-style: italic;
    color: var(--color-gray);
    position: relative;
}

/* --- Brand Ambassador --- */
.ambassador-section {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ambassador-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: top center;
    opacity: 0.4;
    z-index: 1;
}

.ambassador-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-black) 0%, transparent 50%, var(--color-black) 100%);
    z-index: 2;
}

.ambassador-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 40px;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-gold);
    border-radius: 8px;
}

.ambassador-content h2 {
    font-size: 3rem;
}

.ambassador-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.ambassador-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-gray);
}

/* --- Products --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.product-info p {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.features {
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.features li {
    font-size: 0.85rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.features li::before {
    content: "•";
    color: var(--color-gold);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- Solar & EV Grids --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.solar-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.solar-content p {
    color: var(--color-gray);
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.gold-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.solar-image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.solar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.feature-box {
    padding: 30px;
    text-align: center;
}

.feature-box h4 {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 40px 20px;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.stat-box p {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '+';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--color-white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    border: 2px solid var(--color-gold);
}

.close-lightbox {
    position: absolute;
    top: 30px; right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--color-gold);
}

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

.news-card {
    padding: 30px;
}

.news-date {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    color: var(--color-gold);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.map-placeholder {
    margin-top: 30px;
    height: 150px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    border-radius: 4px;
}

.contact-form-container {
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--color-white);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.footer {
    background: #050505;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links h4, .footer-social h4 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-gray);
    font-size: 0.8rem;
}

/* --- Back to Top --- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: var(--color-gold-light);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s all cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .about-grid, .grid-2, .contact-wrapper { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%; top: 70px;
        flex-direction: column;
        background: rgba(11, 11, 11, 0.95);
        backdrop-filter: blur(10px);
        width: 100%; height: calc(100vh - 70px);
        text-align: center;
        padding-top: 50px;
        transition: 0.4s ease-in-out;
    }
    
    .nav-links.nav-active { right: 0; }
    .hamburger { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .ambassador-content h2 { font-size: 2rem; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}
