@import url('theme.css');
:root {
    --primary-color: var(--primary-400);
    --primary-light: var(--primary-300);
    --background-light: var(--bg);
    --text-dark: var(--text);
    --text-light: var(--muted);
    --white: #ffffff;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scroll */
    color: var(--text-dark);
    background: var(--background-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 60px 0;
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent; /* Starts transparent */
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background:
        linear-gradient(90deg, rgba(167,243,208,.25), rgba(167,243,208,0) 40%),
        rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.nav-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* full screen */
    display: flex;
    align-items: center; /* vertically center content */
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(171, 49, 49, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: #1e1e1e;
}

.btn-secondary:hover {
    background: #00b894;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    flex: 1.3; /* make image bigger */
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 120%; /* bigger than container */
    max-width: none;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 14px 50px rgba(0,0,0,0.35);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.06);
}

/* Hero Features */
.hero-features {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.778);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Animations */
@keyframes slideInLeft {
    from {opacity: 0; transform: translateX(-50px);}
    to {opacity: 1; transform: translateX(0);}
}

@keyframes slideInRight {
    from {opacity: 0; transform: translateX(50px);}
    to {opacity: 1; transform: translateX(0);}
}

/* Universal Section Styles */
.products {
    padding: 120px 0 80px;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.section-header p {
    font-size: 1.125rem;
    color: #4b5563;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08), 0 12px 36px rgba(46,204,113,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out both;
    animation-delay: calc(var(--i, 0) * 0.2s);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12), 0 18px 44px rgba(46,204,113,0.18);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.add-to-cart-form .btn {
    width: 100%;
    justify-content: center;
} 

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08), 0 12px 36px rgba(46,204,113,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out both;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* About Us Section */
/* ===== ABOUT SECTION (Mint / Solar Theme) ===== */

:root {
    --container-max: 1180px;
    --mint-primary: var(--primary-600);
    --mint-primary-light: var(--primary-500);
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Home section background */
.home-background {
    background-image: url('https://images.unsplash.com/photo-1601597114302-5c0f2c4b24f8?auto=format&fit=crop&w=1950&q=80'); /* fallback solar/fans/light image from Unsplash */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

/* Optional overlay to improve text visibility */
.home-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark overlay */
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    padding: 20px;
}

.home-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.home-content p {
    font-size: 1.2rem;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .home-content h1 {
        font-size: 2rem;
    }
    .home-content p {
        font-size: 1rem;
    }
}


/* soft mint background with aura glows */
.about {
  padding: 100px 0;
  background: radial-gradient(circle at 20% 30%, #c6efe8 0%, #d8f6f0 40%, #e8fffa 95%);
  position: relative;
  overflow: hidden;
}

/* floating glow orbs like your login page */
.about::before,
.about::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 160, 150, 0.18), transparent 70%);
  filter: blur(70px);
  animation: float 6s ease-in-out infinite alternate;
}

.about::before { top: -60px; left: -80px; }
.about::after { bottom: -80px; right: -40px; animation-delay: 2s; }

@keyframes float {
  from { transform: translateY(0px) scale(1); }
  to   { transform: translateY(25px) scale(1.03); }
}

/* section title */
.about-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--mint-primary);
  margin-bottom: 1rem;
  text-shadow: 0 6px 20px rgba(46, 204, 113, 0.18);
}

.about-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 780px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
}

/* GRID LAYOUT */
.about-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.4rem;
  justify-items: center;
}

/* NEUMORPHIC CARDS */
.about-box {
  width: 100%;
  max-width: 350px;
  background: var(--mint-light);
  padding: 3.2rem 2rem 2.2rem;
  border-radius: 26px;
  text-align: center;
  transition: all .32s ease;
  position: relative;
  overflow: hidden;

  /* neumorphism shadow */
  box-shadow:
    12px 12px 26px rgba(0, 0, 0, 0.09),
    -10px -10px 26px rgba(255, 255, 255, 0.75);
}

.about-box:hover {
  transform: translateY(-10px);
  box-shadow:
    20px 20px 36px rgba(0, 0, 0, 0.12),
    -12px -12px 32px rgba(255, 255, 255, 0.9);
}

/* organic solar icon blob */
.about-blob {
  width: 110px;
  height: 110px;
  border-radius: 36% 64% 54% 46% / 38% 30% 70% 62%;
  margin: -95px auto 10px;
  background: linear-gradient(145deg, var(--mint-primary), var(--mint-primary-light));
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow:
    inset -4px -4px 12px rgba(255,255,255,0.4),
    inset 4px 4px 12px rgba(0,0,0,0.15);
  animation: tilt 5s infinite ease-in-out alternate;
}

@keyframes tilt {
  from { transform: rotate(-2deg) }
  to   { transform: rotate(2deg) }
}

/* TEXT */
.about-box h3 {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.4rem;
}

.about-box p {
  margin-top: .6rem;
  color: var(--text-light);
  line-height: 1.6;
  font-size: .97rem;
}

/* footer stat / tag */
.about-foot {
  margin-top: 1.8rem;
  font-size: .88rem;
  color: var(--text-light);
  font-weight: 600;
}
.about-foot strong {
  display: block;
  font-size: 1.6rem;
  color: var(--mint-primary);
  margin-top: .3rem;
}



/* Call to Action */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #2d3748; /* Darker footer background */
    color: #A0AEC0; /* Lighter text for footer */
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Force hero texts to pure black */
.hero .hero-badge span,
.hero-title,
.hero-subtitle {
    color: #000 !important;
    text-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        position: static;
        transform: none;
        margin-top: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .hero-features {
        padding: 1rem;
        gap: 1rem;
    }

    .feature-item span {
        font-size: 0.75rem;
    }
}
