/* Optimized CSS for Tahsilat Evi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
  HEADER & NAVIGATION
======================================== */
header {
  position: fixed;
  top: 10px;
  left: 1%;
  right: 1%;
  width: 98%;
  background: #1a1a1a;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 15px;
}

.nav-container {
  padding: 1.5rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #00b3cc;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-image {
  height: 55px;
  width: auto;
  border-radius: 10%;
  background-color: black;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00b3cc, #F28C28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #00b3cc;
  transform: translateY(-2px);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #00b3cc, #F28C28);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Language Selector */
.language-select-desktop {
  position: relative;
}

.custom-select {
  position: relative;
  cursor: pointer;
}

.select-selected {
  padding: 8px 12px;
  border: 2px solid #00b3cc;
  border-radius: 8px;
  background: rgba(0, 179, 204, 0.1);
  transition: all 0.3s ease;
}

.select-selected:hover {
  background: rgba(0, 179, 204, 0.2);
}

.flag-icon {
  width: 16px;
  height: 12px;
}

.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 2px solid #00b3cc;
  border-radius: 8px;
  margin-top: 5px;
  overflow: hidden;
  z-index: 1001;
}

.select-items div {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.select-items div:hover {
  background: rgba(0, 179, 204, 0.2);
}

.select-hide {
  display: none;
}

/* ========================================
  HERO SECTION
======================================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:nth-child(1) { background-image: url('attached_assets/hero-main-office.jpg'); }
.hero-slide:nth-child(2) { background-image: url('attached_assets/hero-legal-team.jpg'); }
.hero-slide:nth-child(3) { background-image: url('attached_assets/hero-technology.jpg'); }
.hero-slide:nth-child(4) { background-image: url('attached_assets/hero-consultation.jpg'); }
.hero-slide:nth-child(5) { background-image: url('attached_assets/hero-success.jpg'); }

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #00b3cc, #F28C28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(45deg, #F28C28, #ff9a3d);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(242, 140, 40, 0.3);
  transition: all 0.3s ease;
}

.hero-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(242, 140, 40, 0.5);
}

/* ========================================
  SERVICES SECTION
======================================== */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.services h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #00b3cc, #F28C28);
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 1rem 2rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 179, 204, 0.05), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card i {
  font-size: 3rem;
  color: #00b3cc;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
  color: #F28C28;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.7;
}

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

/* ========================================
  SECTORS SECTION
======================================== */
.sectors {
  padding: 80px 0;
  background: white;
}

.sectors h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
}

.sectors-description {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.carousel-container {
  margin: 3rem 0;
  overflow: hidden;
  position: relative;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: scroll 20s linear infinite;
  gap: 20px;
}

.sector-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 6 - 120px)); }
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sector-item:hover {
  transform: translateY(-5px);
  border-color: #00b3cc;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sector-item i {
  font-size: 2rem;
  color: #00b3cc;
  transition: color 0.3s ease;
}

.sector-item:hover i {
  color: #F28C28;
}

.sector-item span {
  font-weight: 600;
  color: #333;
}

/* ========================================
  ABOUT SECTION
======================================== */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
  text-align: justify;
}

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.about-features li:hover {
  transform: translateX(10px);
}

.about-features li i {
  color: #00b3cc;
  font-size: 1.2rem;
}

/* ========================================
  FAQ SECTION
======================================== */
.faq {
  padding: 80px 0;
  background: white;
}

.faq h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #333;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.faq-question:hover {
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: #333;
  margin-right: 1rem;
}

.faq-question i {
  font-size: 1.2rem;
  color: #00b3cc;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 2rem;
  max-height: 300px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* ========================================
  CONTACT FORM SECTION
======================================== */
.contact-form {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-form h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #333;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.google-forms-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.google-forms-container p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.google-forms-iframe {
  width: 100%;
  height: 956px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ========================================
  FOOTER
======================================== */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F28C28, #00b3cc, #F28C28);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-info .logo {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.footer-info .logo .logo-image {
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.footer-contact {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-contact h3 {
  color: #F28C28;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  color: #F28C28;
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
  background: rgba(242, 140, 40, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.contact-item a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #F28C28;
}

.footer-map {
  grid-column: span 2;
  margin-top: 2rem;
}

.footer-map h3 {
  color: #F28C28;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }
}

@keyframes fadeInUp {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ========================================
  RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .hamburger {
 display: flex;
  }
  
  .nav-menu {
 position: fixed;
 top: 100%;
 left: 0;
 width: 100%;
 background: #1a1a1a;
 flex-direction: column;
 text-align: center;
 transition: all 0.3s ease;
 transform: translateY(-100%);
 opacity: 0;
 visibility: hidden;
 padding: 2rem 0;
 border-radius: 0 0 15px 15px;
  }
  
  .nav-menu.active {
 transform: translateY(0);
 opacity: 1;
 visibility: visible;
  }
  
  .hero-content h1 {
 font-size: 2.5rem;
  }
  
  .hero-content p {
 font-size: 1.1rem;
  }
  
  .services h2,
  .about h2,
  .faq h2,
  .contact-form h2 {
 font-size: 2.5rem;
  }
  
  .services-grid {
 grid-template-columns: 1fr;
 gap: 1.5rem;
  }
  
  .sectors-grid {
 grid-template-columns: 1fr;
  }
  
  .footer-content {
 grid-template-columns: 1fr;
 gap: 2rem;
  }
  
  .footer-map {
 grid-column: span 1;
  }
  
  .carousel-track {
 animation-duration: 15s;
  }
}

@media (max-width: 480px) {
  .container {
 padding: 0 15px;
  }
  
  .hero-content {
 padding: 0 15px;
  }
  
  .hero-content h1 {
 font-size: 2rem;
  }
  
  .services,
  .sectors,
  .about,
  .faq,
  .contact-form {
 padding: 60px 0;
  }
  
  .service-card,
  .sector-item,
  .faq-item {
 margin-bottom: 1rem;
  }
  
  .service-card {
 padding: 2rem;
  }
  
  .google-forms-iframe {
 height: 800px;
  }
}

@media (max-width: 360px) {
  .nav-container {
 padding: 1rem 15px;
  }
  
  .logo-text {
 font-size: 1.2rem;
  }
  
  .hero-content h1 {
 font-size: 1.8rem;
  }
  
  .google-forms-iframe {
 height: 700px;
  }
}