/* ADE Website Specific Styles */

/* Header Styles - Text Logo and Navigation */
.header-logo {
  color: white;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

#header-outer.scrolled .header-logo {
  text-shadow: none;
}

.header-logo:hover {
  color: #FFD700;
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#header-outer.scrolled .nav-link {
  text-shadow: none;
}

.nav-link:hover {
  color: #FFD700;
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.header-btn-login {
  background: transparent;
  color: white;
  border: 2px solid white;
  text-decoration: none;
}

.header-btn-login:hover {
  background: white;
  color: black;
}

.header-btn-primary {
  background: linear-gradient(135deg, #FF8C00 0%, #FF7500 50%, #E67E00 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-btn-primary:hover {
  background: linear-gradient(135deg, #FF7500 0%, #E67E00 50%, #D66D00 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* CTA Box - Black and Grey with 40% transparency */
.cta-box {
  background: 
    linear-gradient(135deg, rgba(128, 128, 128, 0.15) 25%, transparent 25%, transparent 50%, rgba(128, 128, 128, 0.15) 50%, rgba(128, 128, 128, 0.15) 75%, transparent 75%, transparent),
    rgba(0, 0, 0, 0.4) !important;
  background-size: 40px 40px, 100% 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.cta-box::before {
  display: none !important;
}

/* Service Item Images - Size restricted with cropping */
.services-grid .service-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border-radius: 10px;
}

.service-item {
  text-decoration: none;
  color: inherit;
}

/* Gold Outlined Button for Courses */
.course-button {
  background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
  background-image: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="texture" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23333"/><circle cx="50" cy="50" r="2" fill="%23444"/></pattern></defs><rect width="100" height="100" fill="url(%23texture)"/></svg>');
  background-size: 200px 200px;
  border: 2px solid #FFD700;
  border-radius: 15px;
  padding: 30px;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 200px;
}

.course-button::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 13px;
  pointer-events: none;
}

.course-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  border-color: #FFED4E;
}

.course-button-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.course-button-price {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: auto;
  position: relative;
}

.course-button-price-large {
  font-size: 3.5em;
  font-weight: 700;
  line-height: 1;
}

.course-button-price-small {
  font-size: 1em;
  font-weight: 600;
  margin-top: 8px;
  white-space: nowrap;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Two Column Layout */
.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-column-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.two-column-section-left {
  grid-template-columns: 1fr 1fr;
}

.two-column-section-left .content {
  order: 2;
}

.two-column-section-left img {
  order: 1;
}

/* Request Info Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-in;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #333;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .header-actions {
    gap: 10px;
  }
  
  .header-btn {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .two-column-section,
  .two-column-section-left {
    grid-template-columns: 1fr;
  }
  
  .two-column-section-left .content,
  .two-column-section-left img {
    order: initial;
  }
  
  .course-button {
    min-height: 150px;
    padding: 20px;
  }
  
  .course-button-title {
    font-size: 1.5em;
  }
  
  .course-button-price-large {
    font-size: 2.5em;
  }
}

