/**
 * Page Sections Styles - Banner, About, Services, Footer
 * Bora Akü Website Modernization
 */

/* ============================================
   BANNER / HERO SECTION
   ============================================ */

.banner {
  position: relative;
  height: var(--banner-height-desktop);
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../images/banner.jpg) no-repeat center center;
  background-size: cover;
  overflow: hidden;
  margin-bottom: var(--space-16);
}

/* Gradient Overlay */
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Banner Content */
.banner-text {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: var(--space-16);
  width: 100%;
}

.banner-text h1,
.banner-text h2,
.banner-text h3 {
  color: white;
  font-weight: var(--font-weight-bold);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-4);
}

.banner-text p {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CHOOSE SECTION (Vehicle Icons)
   ============================================ */

.banner-bottom {
  position: relative;
  margin-bottom: var(--space-20);
}

.choose {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

/* Stagger Animation for Icon Cards */
.choose-icon {
  animation: slideUp 0.6s ease-out backwards;
}

.choose-icon:nth-child(1) { animation-delay: 0.1s; }
.choose-icon:nth-child(2) { animation-delay: 0.2s; }
.choose-icon:nth-child(3) { animation-delay: 0.3s; }
.choose-icon:nth-child(4) { animation-delay: 0.4s; }
.choose-icon:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  padding: var(--space-16) 0;
  background: var(--color-bg-primary);
}

.about-grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-grid-left {
  position: relative;
}

.about-grid-left img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.about-grid-left:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.about-grid-right h2,
.about-grid-right h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.about-grid-right h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-grid-right p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.about-grid-right ul {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.about-grid-right ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.about-grid-right ul li:last-child {
  border-bottom: none;
}

.about-grid-right ul li:hover {
  padding-left: var(--space-2);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
}

.about-grid-right ul li .fa {
  color: var(--color-accent);
  font-size: var(--font-size-lg);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.our-services {
  padding: var(--space-16) 0;
  background: var(--color-bg-secondary);
}

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

.section-title h2,
.section-title h3 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.our-services-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.our-services-wrapper {
  transition: all var(--transition-base);
}

/* ============================================
   BLOG / PRODUCT CARDS SECTION
   ============================================ */

.blog-content {
  padding: var(--space-16) 0;
  background: var(--color-bg-primary);
}

.blog-grids {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.blog-grid {
  position: relative;
}

.blog-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-grid .card-body.img {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.blog-grid .card-body.img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-grid .our-services-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-grid .date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  width: fit-content;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--gradient-footer);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-12) 0 var(--space-6);
  position: relative;
}

/* Footer Top */
.footer-top {
  background: var(--gradient-primary);
  padding: var(--space-6) 0;
  margin-bottom: var(--space-12);
  position: relative;
  overflow: hidden;
}

.footer-top::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.footer-top-grids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  text-align: center;
}

.footer-top-grid .fa {
  font-size: var(--font-size-4xl);
  color: white;
  margin-bottom: var(--space-3);
}

.footer-top-grid h4 {
  color: white;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
}

.footer-top-grid p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  margin: 0;
}

.footer-top-grid a {
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-top-grid a:hover {
  transform: translateX(4px);
  color: var(--color-accent);
}

/* Footer Main Content */
.footer-grids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-8);
}

.footer-grid h4 {
  color: white;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: var(--space-3);
}

.footer-grid ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-grid ul li a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-grid ul li .fa {
  margin-right: var(--space-2);
  color: var(--color-accent);
  width: 20px;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-bottom a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent-light);
}

/* ============================================
   WHATSAPP & CALL BUTTONS (Mobile Fixed)
   ============================================ */

.whatsapp-button,
.call-button {
  position: fixed;
  bottom: var(--space-8);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl);
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
  text-decoration: none;
}

.whatsapp-button {
  right: var(--space-8);
  background: #25D366;
  color: white;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.call-button {
  right: calc(var(--space-8) + 72px);
  background: var(--gradient-accent);
  color: white;
}

.call-button:hover {
  background: var(--gradient-accent-hover);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.whatsapp-button .fa,
.call-button .fa {
  font-size: var(--font-size-2xl);
}

@media (min-width: 768px) {
  .whatsapp-button,
  .call-button {
    display: none;
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.scroll-to-top .fa {
  font-size: var(--font-size-lg);
}
