/* ============================================
   DE ENERGY HUB - MASTER STYLESHEET
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
  --primary-gold: #d8973c;
  --primary-green: #40553A;
  --light-gold: #d8c99b;
  --dark-blue: #031d28;
  --off-white: #f7f7f5;
  --text-gray: #666;
  --border-gray: #e0e0e0;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f7f7f5 0%, #e8e8e6 100%);
  color: var(--dark-blue);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  background: rgba(64, 85, 58, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.2rem 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.8rem 5%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styling */
.logo {
  font-weight: 900;
  color: var(--off-white);
  font-size: 2rem;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-image {
  height: 55px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.brand-name {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
  letter-spacing: 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  background: transparent;
  color: var(--off-white);
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid transparent;
}

.nav-links a:hover {
  background: rgba(216, 151, 60, 0.1);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

/* Active Page Styling */
.nav-links a.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(216, 151, 60, 0.3);
}

.nav-links a.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(216, 151, 60, 0.4);
}

/* Add these to your navigation section in styles.css */
.coming-soon {
  font-size: 0.7rem;
  background: #ffcc00;
  color: #333;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--off-white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, #2d3f28 100%);
  padding: 6rem 5% 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: attr(data-icon);
  position: absolute;
  font-size: 20rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--off-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: -2px;
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(247, 247, 245, 0.9);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ============================================
   CONTAINERS & LAYOUTS
   ============================================ */
.container {
  max-width: 1200px;
  margin: -3rem auto 4rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.card h2 {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  position: relative;
  padding-right: 2.5rem !important;
}

/* Dropdown arrow indicator */
.dropbtn::after {
  content: '▼';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.dropdown.active .dropbtn::after,
.dropdown:hover .dropbtn::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 250px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
  overflow: hidden;
  margin-top: 0.5rem;
}

.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
}

/* Desktop hover behavior */
@media (min-width: 969px) {
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
  }
}

.dropdown-content a {
  color: var(--primary-green);
  padding: 15px 20px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--border-gray);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: left;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(216, 151, 60, 0.1);
  color: var(--primary-gold);
  padding-left: 25px;
}

.dropdown-content a.active {
  background: linear-gradient(135deg, rgba(216, 151, 60, 0.2), rgba(216, 201, 155, 0.2));
  color: var(--primary-green);
  border-left: 4px solid var(--primary-gold);
}

/* Disabled Navigation Items */
.dropdown-content a.disabled {
  color: #aaa !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.dropdown-content a.disabled .coming-soon {
  color: #888;
  font-size: 0.85rem;
  font-style: italic;
  margin-left: 8px;
}

.dropdown-content a.disabled:hover {
  background-color: transparent !important;
  transform: none !important;
  padding-left: 20px !important;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.8rem;
}

label {
  display: block;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: 2px solid var(--border-gray);
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: #fafafa;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: white;
  box-shadow: 0 4px 15px rgba(216, 151, 60, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Radio & Checkbox Styling */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--off-white);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.radio-option:hover,
.checkbox-option:hover {
  background: rgba(216, 151, 60, 0.1);
  border-color: var(--light-gold);
}

.radio-option input,
.checkbox-option input {
  width: auto;
  margin-right: 0.8rem;
  cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn,
.submit-btn {
  width: 100%;
  padding: 1.4rem;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  color: var(--dark-blue);
  border: none;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
}

.btn:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(216, 151, 60, 0.4);
}

.btn:disabled,
.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   RESPONSE MESSAGES
   ============================================ */
.response-message {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  display: none;
  animation: slideIn 0.3s ease;
}

.response-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.response-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   INFO ITEMS (Contact Cards)
   ============================================ */
.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
  background: linear-gradient(135deg, rgba(216, 151, 60, 0.1), rgba(216, 201, 155, 0.1));
}

.info-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.info-content h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.info-content p {
  color: var(--text-gray);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.info-content a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--primary-gold);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, var(--primary-green) 0%, #2d3f28 100%);
  color: var(--off-white);
  padding: 4rem 5% 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .footer-logo-image {
  height: 35px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.footer-brand h3 .brand-name-footer {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  letter-spacing: 0;
}

.footer-brand .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-gold);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(247, 247, 245, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-coming-soon h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light-gold);
  font-weight: 700;
}

.footer-links ul,
.footer-coming-soon ul {
  list-style: none;
}

.footer-links li,
.footer-coming-soon li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-coming-soon a {
  color: rgba(247, 247, 245, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-coming-soon a:hover:not(.disabled) {
  color: var(--primary-gold);
  transform: translateX(5px);
}

/* Footer disabled links */
.footer-coming-soon a.disabled {
  color: rgba(247, 247, 245, 0.6) !important;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.footer-coming-soon a.disabled .coming-soon {
  color: var(--light-gold);
  font-size: 0.75rem;
  margin-left: 0.5rem;
  font-style: italic;
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
  color: var(--dark-blue);
  position: relative;
}

.footer-social-icon.instagram::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--dark-blue);
  border-radius: 6px;
  position: absolute;
}

.footer-social-icon.instagram::after {
  content: '';
  width: 9px;
  height: 9px;
  border: 2.5px solid var(--dark-blue);
  border-radius: 50%;
  position: absolute;
}

.footer-social-icon.x-social::before {
  content: '𝕏';
  color: var(--dark-blue);
  font-size: 1.3rem;
}

.footer-social-icon.tiktok::before {
  content: '♪';
  color: var(--dark-blue);
  font-size: 1.6rem;
}

.footer-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 20px rgba(216, 151, 60, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 247, 245, 0.2);
  color: rgba(247, 247, 245, 0.7);
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet & Mobile - STANDARDIZED TO 968px */
@media (max-width: 968px) {

  /* Navigation - Show Hamburger */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 280px;
    background: var(--primary-green);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.4s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    display: block;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-align: left;
  }

  /* Mobile dropdown styles - FIXED VERSION WITH !important FLAGS */
  .dropdown-content {
    position: static !important;
    transform: none !important;
    left: auto !important;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: none;
    width: 100%;
    min-width: auto;
    margin-top: 0;
    border-radius: 8px;
    max-height: 0;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-content {
    max-height: 500px;
  }
  
  .dropdown-content a {
    padding: 12px 20px 12px 30px !important;
    border-left: 3px solid var(--primary-gold);
    color: var(--off-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
  }

  .dropdown-content a:hover {
    background: rgba(216, 151, 60, 0.2) !important;
    padding-left: 35px !important;
    color: var(--off-white) !important;
  }

  /* Logo Adjustments */
  .logo-image {
    height: 45px;
  }

  .brand-name {
    font-size: 1.8rem;
  }

  .footer-brand .footer-logo-image {
    height: 32px;
  }

  /* Page Headers */
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  /* Cards */
  .card {
    padding: 2.5rem 2rem;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Only */
@media (max-width: 600px) {
  nav {
    padding: 1rem 4%;
  }

  .logo-image {
    height: 40px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .footer-brand .footer-logo-image {
    height: 30px;
  }

  .page-header {
    padding: 4rem 4% 3rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .card {
    padding: 2rem 1.5rem;
  }

  .card h2 {
    font-size: 1.6rem;
  }

  input,
  textarea,
  select {
    padding: 1rem;
  }

  .btn,
  .submit-btn {
    padding: 1.2rem;
    font-size: 1.1rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.hidden {
  display: none !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* Pulse animation for logo */
@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}