@import url("global.css");
@import url("keyframes.css");
@import url("navbar.css");
@import url("work.css");
@import url("services.css");
@import url("blog.css");
@import url("forms.css");
@import url("footer.css");


/* ===================================
   Accessibility
   =================================== */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  margin-top: var(--navbar-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bg-width, 100%);
  height: var(--bg-height, 100%);
  background-image: url(../../assets/afb/kuXDIxJ.jpeg);
  background-size: cover;
  background-position: center;
  transform: translate(-50%, -50%);
  z-index: -1;
  will-change: width, height;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(255, 107, 107, 0.4), rgba(93, 123, 232, 0.3));
  z-index: -1;
}

[data-theme="dark"] .hero::after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(232, 93, 117, 0.3), rgba(93, 123, 232, 0.2));
}

.hero-content {
  max-width: 900px;
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  background: var(--overlay-dark);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(93, 123, 232, 0.3);
}



/* ===================================
   Contact Section
   =================================== */

.contact {
  min-height: 100vh;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(232, 93, 117, 0.5), rgba(93, 123, 232, 0.3)),
              url(../../assets/afb/qc4EwHC.jpeg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
.carousel-item {
  width: 300px;
  height: 500px;
}

.social-links {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  max-width: 400px; 
  margin: 0 auto;
}

.social-links a {
  width: 40px;        
  height: 40px;
  font-size: 1.25rem;
}
}

@media (max-width: 768px) {
:root {
  --navbar-height: 70px;
}

.navbar {
  padding: 0 1rem;
  z-index: 1002;
}

.nav-links {
  position: fixed;
  top: var(--navbar-height); 
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  background: var(--overlay-light);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem; 
  box-shadow: var(--shadow-md);
  border-bottom-left-radius: 12px; 
  width: auto;
  overflow: hidden; 
  max-height: 0;
  transform: scaleY(0) translateY(-20px); 
  transform-origin: top right;
  transition: max-height 400ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              opacity 400ms cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 999; 
  opacity: 0;
  pointer-events: none;
}

.nav-links.active {
  max-height: 500px; 
  transform: scaleY(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger {
  display: flex;
  position: relative;
  z-index: 1003;
}

.hero {
  margin-top: var(--navbar-height);
}

.services-grid {
  grid-template-columns: 1fr;
}


.blog-grid {
  grid-template-columns: 1fr;
}

.carousel-item {
  width: 250px;
  height: 420px;
}
}

/* Mobile Phones */
@media (max-width: 480px) {
.section-title {
  font-size: 1.75rem;
}


.carousel-item {
  width: 200px;
  height: 350px;
}

.carousel-title {
  font-size: 1.5rem;
}

.theme-toggle {
  width: 50px;
  height: 28px;
}

.theme-toggle-slider {
  width: 20px;
  height: 20px;
}

[data-theme="dark"] .theme-toggle-slider {
  transform: translateX(22px);
}
}
