/* Reset & Base */
:root {
  --color-white: #ffffff;
  --color-matte-black: #1a1a1a;
  --color-deep-navy: #0a192f;
  --color-metallic-silver: #c0c0c0;
  --color-light-gray: #f5f5f7;
  --color-text-gray: #4a4a4a;
  --gradient-blue: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #0a192f);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-white);
  color: var(--color-matte-black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-gray);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(67, 100, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 100, 247, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.header.scrolled .logo,
.header.scrolled .nav-links a {
  color: var(--color-matte-black);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-blue);
  transition: var(--transition-smooth);
}

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

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--color-white);
  min-width: 220px;
  box-shadow: var(--shadow-strong);
  border-radius: var(--border-radius-md);
  padding: 10px 0;
  z-index: 1001;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.header.scrolled .dropdown-content {
  background-color: var(--color-white);
}

.dropdown-content a {
  color: var(--color-matte-black) !important;
  padding: 12px 20px;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-content a::after {
  display: none;
}

.dropdown-content a:hover {
  background-color: var(--color-light-gray);
  color: #4364f7 !important;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeUp 0.3s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-deep-navy);
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 25, 47, 0.2), rgba(10, 25, 47, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--color-metallic-silver);
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

/* About Section */
.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--color-matte-black);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--color-text-gray);
  font-weight: 500;
}

/* Business Areas */
.business-areas {
  background-color: var(--color-light-gray);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.area-card {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.area-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.area-card:hover::before {
  opacity: 1;
}

.area-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-deep-navy);
  transition: var(--transition-smooth);
}

.area-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.area-card p {
  color: var(--color-text-gray);
  transition: var(--transition-smooth);
}

.area-card:hover .area-icon,
.area-card:hover h3,
.area-card:hover p {
  color: var(--color-white);
}

/* Product Showcase */
.products {
  background-color: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.product-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  background: var(--color-white);
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-strong);
}

.product-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: var(--color-text-gray);
}

/* Technology Division */
.technology {
  background: var(--gradient-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tech-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.tech-content p {
  font-size: 1.25rem;
  color: var(--color-metallic-silver);
  margin-bottom: 2rem;
}

.tech-features {
  list-style: none;
  margin-bottom: 3rem;
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.tech-features i {
  color: #6fb1fc;
}

.tech-visual {
  position: relative;
}

.tech-mockup {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.glow-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(67, 100, 247, 0.3);
  filter: blur(100px);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Why Choose Us */
.why-us {
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--color-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-deep-navy);
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
  background: var(--gradient-blue);
  color: var(--color-white);
  transform: scale(1.1);
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--color-text-gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background-color: var(--color-light-gray);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-info {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #6fb1fc;
}

.contact-form {
  padding: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: #4364f7;
  box-shadow: 0 0 0 3px rgba(67, 100, 247, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
  background-color: var(--color-matte-black);
  color: var(--color-metallic-silver);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--gradient-blue);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-metallic-silver);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

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

/* Scroll Reveal Animations (Eczacibasi Style) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero Background Slow Zoom (Eczacibasi Style) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/hero_bg.png') center/cover no-repeat;
  z-index: 1;
  animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .about-grid, .tech-grid, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-mockup { margin: 0 auto; display: block; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; } /* Add hamburger menu logic if needed */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .stat-item h3 { font-size: 2.5rem; }
}

/* Swiper Overrides */
.areas-swiper, .products-swiper {
  padding-bottom: 4rem;
  overflow: hidden;
}

.swiper-pagination-bullet {
  background: var(--color-metallic-silver);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--gradient-blue);
  opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--color-deep-navy);
  background: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--gradient-blue);
  color: var(--color-white);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1.25rem;
}

/* Cinematic Animations */
.mask-reveal-left {
  position: relative;
  overflow: hidden;
  display: block;
}

.mask-reveal-left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 2;
  transform-origin: right;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.mask-reveal-left.active::after {
  transform: scaleX(0);
}

.img-zoom {
  transform: scale(1.15);
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.mask-reveal-left.active .img-zoom {
  transform: scale(1);
}
