/* BodrumSocial.club - Main CSS */

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #20c997;
  --primary-dark: #1a9f7a;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  
  /* Brand Colors */
  --turquoise: #20c997;
  --navy: #2c3e50;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--gray-900);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-700);
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--spacing-lg);
}

.card-body {
  padding: var(--spacing-lg);
}

.card-footer {
  background-color: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: var(--spacing-md) var(--spacing-lg);
}

/* Forms */
.form-control {
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #FF9900 0%, #FFB74D 30%, #2196F3 70%, #3F51B5 100%);
  color: white !important;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  max-height: 400px;
  z-index: 10;
}

.hero-section .container {
  position: relative;
  z-index: 30;
}

.hero-section * {
  color: white !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section span,
.hero-section div {
  color: white !important;
}

/* Bootstrap text-white override */
.hero-section .text-white,
.hero-section .text-white *,
.hero-section .display-4,
.hero-section .lead,
.hero-section .fw-bold {
  color: white !important;
}

/* Force white color for all hero elements */
.hero-section * {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Ultra high priority rules */
html body .hero-section,
html body .hero-section *,
html body .hero-section h1,
html body .hero-section h2,
html body .hero-section h3,
html body .hero-section h4,
html body .hero-section h5,
html body .hero-section h6,
html body .hero-section p,
html body .hero-section span,
html body .hero-section div,
html body .hero-section .display-4,
html body .hero-section .lead,
html body .hero-section .fw-bold,
html body .hero-section .text-white {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* FINAL OVERRIDE - En son sırada en güçlü kural */
html body .hero-section * {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* ULTRA FINAL OVERRIDE - En son sırada en güçlü kural */
html body .hero-section,
html body .hero-section *,
html body .hero-section h1,
html body .hero-section h2,
html body .hero-section h3,
html body .hero-section h4,
html body .hero-section h5,
html body .hero-section h6,
html body .hero-section p,
html body .hero-section span,
html body .hero-section div,
html body .hero-section .display-4,
html body .hero-section .lead,
html body .hero-section .fw-bold,
html body .hero-section .text-white,
html body .hero-section .mb-3,
html body .hero-section .mb-4,
html body .hero-section .mb-0 {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* ULTIMATE FINAL OVERRIDE - En son sırada en güçlü kural */
html body .hero-section * {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

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

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: linear-gradient(45deg, rgba(255, 153, 0, 0.3), rgba(255, 183, 77, 0.2));
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  background: linear-gradient(45deg, rgba(33, 150, 243, 0.3), rgba(63, 81, 181, 0.2));
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
  background: linear-gradient(45deg, rgba(255, 183, 77, 0.4), rgba(255, 153, 0, 0.3));
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 70%;
  animation-delay: 1s;
  background: linear-gradient(45deg, rgba(63, 81, 181, 0.3), rgba(33, 150, 243, 0.2));
}

.shape-5 {
  width: 40px;
  height: 40px;
  top: 40%;
  left: 5%;
  animation-delay: 3s;
  background: linear-gradient(45deg, rgba(255, 153, 0, 0.5), rgba(255, 183, 77, 0.3));
}

.shape-6 {
  width: 90px;
  height: 90px;
  top: 70%;
  left: 60%;
  animation-delay: 5s;
  background: linear-gradient(45deg, rgba(33, 150, 243, 0.4), rgba(63, 81, 181, 0.3));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-15px) rotate(90deg) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-25px) rotate(180deg) scale(1.2);
    opacity: 1;
  }
  75% {
    transform: translateY(-15px) rotate(270deg) scale(1.1);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 20;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 20;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
  color: white !important;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2xl);
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.3s both;
  color: white !important;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #FF9900 0%, #FFB74D 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #FF8F00 0%, #FFA726 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.hero-buttons .btn-outline-primary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-buttons .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.2s ease-in-out;
  height: 100%;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Mobile Download Section */
.mobile-download-section {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.mobile-mockup img {
  max-width: 50%;
  height: auto;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.mobile-mockup img:hover {
  transform: scale(0.85);
}

/* Hero Mobile Mockup */
.hero-mobile-mockup {
  position: relative;
  z-index: 20;
}

.mobile-mockup-img {
  max-width: 60%;
  height: auto;
  transform: scale(0.7);
  transition: all 0.3s ease;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.mobile-mockup-img:hover {
  transform: scale(0.75);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.4));
}

/* Hero Stats */
.hero-stats .stat-item h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: white !important;
}

.hero-stats .stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline-primary {
    padding: 14px 30px;
    font-size: 1.1rem;
  }
  
  .shape {
    display: none;
  }
  
  .shape-1, .shape-2, .shape-3 {
    display: block;
  }
  
  .mobile-mockup img {
    max-width: 70%;
    transform: scale(0.7);
  }
  
  .mobile-mockup-img {
    max-width: 50%;
    transform: scale(0.6);
  }
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .download-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.text-gray-600 { color: var(--gray-600) !important; }
.text-gray-700 { color: var(--gray-700) !important; }
.text-gray-800 { color: var(--gray-800) !important; }
.text-gray-900 { color: var(--gray-900) !important; }

.bg-gray-100 { background-color: var(--gray-100) !important; }
.bg-gray-200 { background-color: var(--gray-200) !important; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
