﻿/* ==========================================
   SULUHU CAPITAL - MODERN DESIGN SYSTEM v2
   TEAL & GREEN THEME
   ========================================== */

/* ==========================================
   1. ROOT VARIABLES & COLOR SCHEME
   ========================================== */
:root {
  /* Primary Colors - Teal/Turquoise */
  --primary-600: #0d9488;
  --primary-500: #14b8a6;
  --primary-400: #2dd4bf;
  --primary-300: #5eead4;
  --primary-100: #ccfbf1;
  
  /* Secondary Colors */
  --success-600: #059669;
  --success-500: #10b981;
  --success-400: #6ee7b7;
  
  --warning-600: #d97706;
  --warning-500: #f59e0b;
  --warning-400: #fcd34d;
  
  --danger-600: #dc2626;
  --danger-500: #ef4444;
  --danger-400: #fca5a5;
  
  /* Neutral Colors */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Typography */
  --font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --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;
  --font-size-5xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* ==========================================
   2. GLOBAL STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--gray-900);
  background-color: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================
   3. TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--gray-700);
  line-height: 1.75;
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-2xl);
}

li {
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

strong {
  font-weight: 700;
  color: var(--gray-900);
}

em {
  font-style: italic;
}

/* ==========================================
   4. CONTAINERS & LAYOUT
   ========================================== */
.ed-container {
  transition: all var(--transition-base);
}

.ed-element {
  transition: all var(--transition-base);
}

/* ==========================================
   5. HEADERS & HERO SECTIONS
   ========================================== */
.custom-theme h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

/* Hero sections with gradient overlays */
.preset-fullscreen-text-and-background-v3-default {
  position: relative;
  overflow: hidden;
}

.preset-fullscreen-text-and-background-v3-default::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.text-and-background-content {
  position: relative;
  z-index: 2;
}

/* ==========================================
   6. BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  gap: var(--space-sm);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.button:active {
  transform: translateY(0);
}

/* Primary Button */
.button.center,
.ed-button.custom-theme .button {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-600);
  font-weight: 700;
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}

.button.center:hover,
.ed-button.custom-theme .button:hover {
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
  filter: brightness(1.1);
}

/* Secondary Button */
.button-default {
  background: var(--gray-200);
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.button-default:hover {
  background: var(--gray-300);
  border-color: var(--gray-400);
}

/* ==========================================
   7. FORM ELEMENTS
   ========================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  background-color: white;
  transition: all var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  background-color: rgba(20, 184, 166, 0.05);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--gray-400);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-family);
}

/* Form Container */
.ed-form-container {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   8. CARDS & CONTENT BOXES
   ========================================== */
.ed-text,
.ed-text.custom-theme {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-top: 4px solid var(--primary-500);
}

.ed-text:hover,
.ed-text.custom-theme:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-top-color: var(--primary-600);
}

.ed-text ul {
  list-style: none;
  padding: 0;
}

.ed-text li {
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-md);
}

.ed-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-500);
  font-weight: bold;
  font-size: var(--font-size-lg);
}

/* ==========================================
   9. SPACING & LAYOUT IMPROVEMENTS
   ========================================== */
.ed-spacer {
  margin: var(--space-lg) 0;
}

.wv-boxed {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.wv-spacer {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .wv-boxed {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .wv-spacer {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* ==========================================
   10. MENU & NAVIGATION
   ========================================== */
.menu-wrapper {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-base);
  border-bottom: 3px solid var(--primary-500);
}

.menu-wrapper.sticky {
  box-shadow: var(--shadow-md);
}

.ed-menu {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.ed-menu a {
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition-base);
  padding: var(--space-md) var(--space-sm);
  position: relative;
}

.ed-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-500);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.ed-menu a:hover::after,
.ed-menu a.active::after {
  width: 100%;
}

.ed-menu a:hover,
.ed-menu a.active {
  color: var(--primary-600);
}

/* Mobile menu trigger */
.menu-trigger-box {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-trigger-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-trigger-inner span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition-base);
}

@media (max-width: 975px) {
  .menu-trigger-box {
    display: flex;
  }
  
  .ed-menu {
    display: none;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    padding: var(--space-lg) 0;
  }
  
  .ed-menu.open {
    display: flex;
  }
}

/* ==========================================
   11. BACKGROUND IMAGES & OVERLAYS
   ========================================== */
.background-image-holder {
  background-size: cover;
  background-position: center;
  transition: all var(--transition-slow);
}

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

.ed-bg {
  position: relative;
}

.ed-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

/* ==========================================
   12. FOOTER SECTION
   ========================================== */
.footer {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-3xl) var(--space-lg);
  margin-top: var(--space-4xl);
}

.footer-saga-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
}

.footer-saga-box h3 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-xl);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: var(--space-md);
}

.footer-saga-box p,
.footer-saga-box a {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
}

.footer-saga-box a:hover {
  color: white;
  text-decoration: underline;
}

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

/* ==========================================
   13. HEADLINE STYLING
   ========================================== */
.ed-headline.custom-theme h2 {
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xl);
}

.ed-headline h3 {
  color: var(--primary-600);
  margin-bottom: var(--space-md);
}

/* ==========================================
   14. MAP & EMBEDDED CONTENT
   ========================================== */
.map-canvas {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 3px solid var(--primary-300);
}

/* ==========================================
   15. ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(20, 184, 166, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.6);
  }
}

.ed-text {
  animation: fadeIn 0.6s ease-out;
}

.button {
  animation: fadeIn 0.6s ease-out 0.1s both;
}

/* ==========================================
   16. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
  h1 {
    font-size: var(--font-size-4xl);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  h3 {
    font-size: var(--font-size-xl);
  }
  
  .button {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-sm);
  }
  
  .ed-form-container {
    padding: var(--space-lg);
  }
  
  .footer-saga-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    font-size: 14px;
  }
  
  h1 {
    font-size: var(--font-size-2xl);
  }
  
  h2 {
    font-size: var(--font-size-xl);
  }
  
  .wv-boxed {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .ed-menu {
    gap: var(--space-md);
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ==========================================
   17. MESSAGE & ALERT STYLES
   ========================================== */
.wv-message {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  font-weight: 500;
  animation: slideIn 0.4s ease-out;
}

.wv-message.wv-success {
  background-color: var(--success-400);
  color: var(--success-600);
  border-left: 4px solid var(--success-600);
}

.wv-message.wv-error {
  background-color: var(--danger-400);
  color: var(--danger-600);
  border-left: 4px solid var(--danger-600);
}

.wv-message.wv-warning {
  background-color: var(--warning-400);
  color: var(--warning-600);
  border-left: 4px solid var(--warning-600);
}

/* ==========================================
   18. SPECIAL EFFECTS
   ========================================== */
.preset-callout-v2-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.callout-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary-300);
}

/* ==========================================
   19. IMAGE STYLING
   ========================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.ed-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   20. UTILITY CLASSES
   ========================================== */
.center {
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-500);
}

.text-success {
  color: var(--success-500);
}

.text-warning {
  color: var(--warning-500);
}

.text-danger {
  color: var(--danger-500);
}

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

.bg-success {
  background: var(--gradient-success);
  color: white;
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

/* ==========================================
   21. SKIP TO CONTENT LINK
   ========================================== */
.wv-link-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-600);
  color: white;
  padding: var(--space-md) var(--space-lg);
  text-decoration: none;
  z-index: 100;
}

.wv-link-content:focus {
  top: 0;
}

/* ==========================================
   22. LOADING STATE
   ========================================== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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