/* Solar Energizers Website - Main Stylesheet */

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

:root {
  --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  --secondary-gradient: linear-gradient(45deg, #ff6b35, #f7931e);
  --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --light-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --primary-color: #1e3c72;
  --secondary-color: #ff6b35;
  --accent-color: #00b894;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
  --border-radius-small: 10px;
  --border-radius-button: 25px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

/* Full-page background */
body {
  background: url('https://t4.ftcdn.net/jpg/12/02/17/57/360_F_1202175760_jYCY8YqD0iNpnfzEqwVUUZdOMdUt0jVD.jpg') no-repeat center center fixed;
  background-size: cover;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

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

/* Header */
.header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 30%, #e8f5f2 100%);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(10px);
}
.nav-container {
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-video {
  width: 90px;
  height: 80px;
  object-fit: cover;
  margin-right: 8px;
  margin-left: 0;
}
.logo-text {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #0a0349 0%, #0a0349 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  line-height: 1;
}
.logo-text:hover {
  transform: scale(1.02);
  transition: var(--transition);
}
nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  color: #0a0349;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  position: relative;
  transition: var(--transition);
  font-weight: 400;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  background: rgba(45, 90, 61, 0.1);
  transform: translateY(-2px);
  color: #0a0349;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-gradient);
  transition: var(--transition);
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 80%;
}
.nav-actions {
  display: flex;
  align-items: center;
}
.contact-btn {
  background: linear-gradient(45deg, var(--accent-color), #0a0349);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--border-radius-button);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
}

/* Phone Bar */
.phone-bar {
  display: block;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 10px 0;
  z-index: 1001;
}
.phone-bar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.phone-bar a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .phone-bar {
    top: 60px;
  }
  .hero {
    padding-top: 125px;
  }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content {
  position: absolute;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius);
  max-width: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  min-height: 3.5rem;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn {
  padding: 0.7rem 1.2rem;
  border-radius: var(--border-radius-button);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent-color);
}
.btn-secondary {
  background: var(--secondary-color);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-text-box,
.about-video-box {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}
.about-text-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  text-align: justify;
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow-light);
}
.about-video {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow-light);
  object-fit: cover;
  max-height: 600px;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--secondary-gradient);
  border-radius: 2px;
}

/* Distributor Section */
.distributor-section {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 2rem 1rem;
  text-align: center;
  overflow: hidden;
}
.distributor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.distributor-section h2,
.distributor-carousel {
  position: relative;
  z-index: 2;
}
.distributor-section h2 {
  color: white;
}
.distributor-carousel {
  overflow: hidden;
  position: relative;
  height: auto;
}
.distributor-track {
  display: flex;
  gap: 15px;
  animation: scrollInfinite 15s linear infinite;
}
.distributor-card {
  flex: 0 0 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: none;
  padding: 0;
}
.distributor-card img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Floating Image Section */
.floating-image-container {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.floating-image {
  width: 100%;
  height: auto;
  display: block;
  animation: floatAnimation 6s ease-in-out infinite;
}
.floating-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.floating-image-container:hover .floating-overlay {
  opacity: 1;
}
@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Why Us Section */
.why-us-section {
  margin-top: 4rem;
  padding: 0;
  background-size: cover;
  color: white;
}
.why-us-overlay {
  padding: 4rem 2rem;
}
.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.why-us-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: var(--border-radius-small);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}
.why-us-box i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}
.why-us-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.why-us-box p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a0349 0%, #e8f5f2 30%, #e8f5f2 100%);
  color: #0a0349;
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.footer-container {
  max-width: 800px;
  margin: 0 auto;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.social-icons a {
  color: #180aa1;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
  color: #180aa1;
}
footer h4 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}
footer p {
  margin: 0.3rem 0;
}
.developer-link {
  color: #180aa1;
  text-decoration: underline;
}

/* Contact Removed */
#contact {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    max-width: none;
    width: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
  }
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 30%, #e8f5f2 100%);
    flex-direction: column;
    padding: 1rem 2rem;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-container {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .about-container {
    flex-direction: column;
    gap: 0.5rem;
    margin: 2rem auto;
  }
  .about-video-box,
  .about-text-box {
    width: 90%;
    padding: 0;
    margin: 0 auto;
  }
  .about-video {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    margin-bottom: 0.5rem;
  }
  .about-text-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    text-align: justify;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-light);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

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