/* Dodmane Industries Master CSS Tokens & Styles */
:root {
  --primary: #1F4A87;         /* Deep Navy Blue */
  --primary-dark: #0B1B33;
  --accent: #FF2B2B;          /* Bright Red */
  --accent-hover: #E02020;
  --bg-gray: #F4F5F7;         /* Soft Light Gray */
  --bg-white: #FFFFFF;        /* Pure White */
  --text-main: #1F2937;       /* Dark Charcoal */
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white) !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white) !important;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-white) !important;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white) !important;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white) !important;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Navigation Bar */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-link:hover {
  background-color: var(--bg-gray);
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(31, 74, 135, 0.95) 0%, rgba(11, 27, 51, 0.95) 100%), url('../images/hero_doors.jpg') center/cover no-repeat;
  color: var(--bg-white);
  padding: 5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--bg-white);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Quick Quote Card */
.quote-card {
  background-color: var(--bg-white);
  color: var(--text-main);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quote-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 74, 135, 0.15);
}

/* Cards & Layout Grids */
.section {
  padding: 4.5rem 0;
}

.bg-white { background-color: var(--bg-white); }
.bg-gray { background-color: var(--bg-gray); }
.bg-navy { background-color: var(--primary-dark); color: var(--bg-white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--bg-white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
}

.badge-red { background-color: rgba(255, 43, 43, 0.15); color: var(--accent); }
.badge-navy { background-color: rgba(31, 74, 135, 0.15); color: var(--primary); }

/* Section Header Tags */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-tag-accent { color: var(--accent); }

/* Stats Counter Bar */
.stats-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Process Steps */
.process-step {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-number {
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: var(--bg-white);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Accordion FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  display: none;
  color: var(--text-muted);
}

.faq-item.active .faq-content {
  display: block;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--bg-white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: var(--bg-white);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-content {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

/* High-Contrast White Footer */
.footer {
  background-color: #0B1B33 !important;
  color: #FFFFFF !important;
  padding-top: 4rem;
}

.footer p, .footer-bottom p, .footer-heading, .footer-contact-info span {
  color: #FFFFFF !important;
}

.footer-top {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 2.5rem;
}

.footer-heading {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.925rem;
}

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

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.footer-bottom {
  background-color: #050E1A !important;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.highlight-webvistara {
  color: #FF2B2B !important;
  font-weight: 700;
  text-decoration: underline;
}

.highlight-webvistara:hover {
  color: #FFFFFF !important;
}

/* Portfolio Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* Cookie Consent Toast Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  z-index: 9998;
  display: none;
  border-left: 5px solid var(--primary);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* DUAL STICKY CALL & WHATSAPP ACTION BAR (Stacked small circles) */
.dual-sticky-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.sticky-btn-call, .sticky-btn-wa {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Call Button (Navy Blue with hover effect) */
.sticky-btn-call {
  background-color: #1F4A87;
  color: #FFFFFF !important;
}

.sticky-btn-call:hover {
  transform: translateY(-3px);
  background-color: #0B1B33;
}

/* WhatsApp Button (Green with hover effect) */
.sticky-btn-wa {
  background-color: #25D366;
  color: #FFFFFF !important;
}

.sticky-btn-wa:hover {
  transform: translateY(-3px);
  background-color: #1DA851;
}

/* Subpage Hero Card Layout constraints for large images */
.subpage-hero-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary);
}

.subpage-hero-img-container {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.subpage-hero-img-container img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-inner, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .subpage-hero-img-container img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  
  .nav-cta .btn {
    display: none !important;
  }

  .grid-3, .grid-4, .grid-5, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }

  .dual-sticky-bar {
    bottom: 1rem;
    right: 1rem;
    left: auto;
    display: flex;
    flex-direction: column !important;
    gap: 0.5rem;
    width: auto;
  }
  .sticky-btn-call, .sticky-btn-wa {
    width: 44px;
    height: 44px;
    flex: none !important;
  }
  
  .subpage-hero-card {
    padding: 1.5rem;
  }
  .subpage-hero-img-container img {
    height: 220px;
  }
}
