/* Les Entrepreneurs Atlas - Modern CSS Framework Foundation */

/* CSS Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
:root {
  /* Color Palette - Atlas Red Theme */
  --primary-color: #be2c33;
  --primary-dark: #a62329;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;
  --text-dark: #2c3e50;
  /* New Colors - Enhanced Palette */
  --text-light: #7f8c8d;
  --cta-color: #4a6fa5;
  --cta-dark: #3a5780;
  --text-dark: #2c2c2c;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e9ecef;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: 'Arial', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Base Typography */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Bootstrap Grid System (for compatibility with BuildPress theme) */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row::before,
.row::after {
  display: table;
  content: " ";
}

.row::after {
  clear: both;
}

.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-11 {
  width: 91.66666667%;
}

.col-xs-10 {
  width: 83.33333333%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-8 {
  width: 66.66666667%;
}

.col-xs-7 {
  width: 58.33333333%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-5 {
  width: 41.66666667%;
}

.col-xs-4 {
  width: 33.33333333%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-2 {
  width: 16.66666667%;
}

.col-xs-1 {
  width: 8.33333333%;
}

@media (min-width: 768px) {
  .col-sm-12 {
    width: 100%;
  }

  .col-sm-11 {
    width: 91.66666667%;
  }

  .col-sm-10 {
    width: 83.33333333%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-sm-8 {
    width: 66.66666667%;
  }

  .col-sm-7 {
    width: 58.33333333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-5 {
    width: 41.66666667%;
  }

  .col-sm-4 {
    width: 33.33333333%;
  }

  .col-sm-3 {
    width: 25%;
  }

  .col-sm-2 {
    width: 16.66666667%;
  }

  .col-sm-1 {
    width: 8.33333333%;
  }
}

@media (min-width: 992px) {
  .col-md-12 {
    width: 100%;
  }

  .col-md-11 {
    width: 91.66666667%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-7 {
    width: 58.33333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-5 {
    width: 41.66666667%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-1 {
    width: 8.33333333%;
  }
}

@media (min-width: 1200px) {
  .col-lg-12 {
    width: 100%;
  }

  .col-lg-11 {
    width: 91.66666667%;
  }

  .col-lg-10 {
    width: 83.33333333%;
  }

  .col-lg-9 {
    width: 75%;
  }

  .col-lg-8 {
    width: 66.66666667%;
  }

  .col-lg-7 {
    width: 58.33333333%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-5 {
    width: 41.66666667%;
  }

  .col-lg-4 {
    width: 33.33333333%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-2 {
    width: 16.66666667%;
  }

  .col-lg-1 {
    width: 8.33333333%;
  }
}

/* Button System */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--renotheme-primary);
  border-color: var(--renotheme-primary);
  color: var(--renotheme-light);
}

.btn-primary:hover {
  background: var(--renotheme-secondary);
  border-color: var(--renotheme-secondary);
  color: var(--renotheme-light);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
/* New Button Styles */
.btn-cta {
  background-color: var(--cta-color);
  color: var(--text-white);
}

.btn-cta:hover {
  background-color: var(--cta-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: #2c2c2c;
  color: var(--text-white);
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}
}

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

/* Card System */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

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

.card-header {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-light);
}

.card-body {
  padding: var(--spacing-md);
}

.card-footer {
  padding: var(--spacing-md);
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-light);
}

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

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
}

.nav-menu {
/* Header Logo - Larger and more prominent */
.header-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
}
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-white);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--text-light);
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  background-color: var(--bg-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(190, 44, 51, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.contact-item i {
  font-size: 1.25rem;
  margin-top: 4px;
  min-width: 20px;
  color: var(--primary-color);
}

.contact-item h4 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-color);
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.service-areas {
  list-style: none;
  padding: 0;
}

.service-areas li {
  padding: var(--spacing-xs) 0;
  position: relative;
  padding-left: 20px;
}

.service-areas li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Testimonials */
.testimonial-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: serif;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.testimonial-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(190, 44, 51, 0.9), rgba(166, 35, 41, 0.9));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
  padding: var(--spacing-md);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.bg-cta { background-color: var(--cta-color); }
.bg-dark { background-color: #2c2c2c; }

.text-cta { color: var(--cta-color); }
.text-dark { color: #2c2c2c; }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
/* Footer Styles */
footer {
  padding: var(--spacing-sm) 0;
  background-color: var(--primary-color);
  color: var(--text-white);
}

footer h4 {
  color: #2c2c2c;
  margin-bottom: var(--spacing-sm);
}

footer a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 500;
}

/* Only apply black hover to navigation links in footer, not buttons */
.footer .widget_nav_menu a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

footer p {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

/* Hide bullet points in footer lists */
footer ul {
  list-style: none;
  padding-left: 0;
}

footer li {
  list-style: none;
}

/* Override white text color for footer icons */
footer i {
  color: #2c2c2c !important;
}

/* Ensure white text on red backgrounds */
.bg-primary,
[style*="background-color: #be2c33"],
[style*="background-color:#be2c33"],
[style*="background: linear-gradient"],
.footer-bottom {
  color: var(--text-white) !important;
}

.bg-primary *,
[style*="background-color: #be2c33"] *,
[style*="background-color:#be2c33"] *,
[style*="background: linear-gradient"] *,
.footer-bottom * {
  color: inherit !important;
}
.text-muted { color: var(--text-light); }

/* Navigation Mobile Styles */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .nav-cta {
    margin-top: var(--spacing-sm);
  }
  
/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-text::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero {
    padding: var(--spacing-lg) 0;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    padding: 10px;
  }
  
}
}