/* Luxury Modern Styles for Culivo */

:root {
  /* Luxury Color Palette */
  --primary-color: #0f4c81; /* Deep blue */
  --primary-light: #1a6bae;
  --primary-dark: #092d4c;
  --secondary-color: #1c1c28; /* Deep charcoal */
  --accent-color: #c8a951; /* Gold */
  --accent-dark: #ab8f3d;
  --accent-light: #e9d9a8;
  --dark-bg: #0a0a14;
  --light-bg: #f9f8f4;
  --card-bg: #fff;
  --text-color: #1c1c28;
  --subtext-color: #555;
  --gray-light: #f5f5f7;
  --gray-medium: #e7e7e9;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  
  /* UI Elements */
  --transition-speed: 0.3s;
  --border-radius: 12px;
  --btn-radius: 50px;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0f4c81, #1a6bae);
  --gradient-secondary: linear-gradient(135deg, #1c1c28, #353547);
  --gradient-accent: linear-gradient(135deg, #c8a951, #e9d9a8);
  --gradient-dark: linear-gradient(135deg, #0a0a14, #1c1c28);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 5px 15px rgba(200, 169, 81, 0.25);
  --shadow-blue: 0 5px 15px rgba(15, 76, 129, 0.25);
}

/* Base Element Styling */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1rem;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  transition: all var(--transition-speed);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.4);
}

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

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

.btn-accent {
  background: var(--gradient-accent);
  color: var(--dark-bg);
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  box-shadow: 0 10px 25px rgba(200, 169, 81, 0.4);
}

.btn-dark {
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-md);
}

/* Typography Helpers */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

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

/* Decorations */
.gold-line {
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 1.5rem 0;
  border-radius: 2px;
}

.text-center .gold-line {
  margin: 1.5rem auto;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-speed);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-speed);
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  color: var(--primary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem;
  transition: all var(--transition-speed);
  position: relative;
  color: var(--text-color);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--accent-color);
  transition: all var(--transition-speed);
  transform: translateX(-50%);
}

.nav-links a:not(.btn):hover {
  color: var(--primary-color);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-links .btn {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-primary);
}

.hamburger-menu {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary-color);
  transition: color var(--transition-speed);
}

.hamburger-menu:hover {
  color: var(--primary-color);
}

/* Section Styling */
.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: var(--gradient-dark);
  color: white;
}

.section-light {
  background: var(--light-bg);
}

/* Cards */
.luxury-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.luxury-card-accent {
  position: relative;
  overflow: hidden;
}

.luxury-card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent);
}

/* Form Elements */
.form-control {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-speed);
  background-color: rgba(255, 255, 255, 0.9);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-medium);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
}

.checkbox-input:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-input:focus {
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.checkbox-label {
  font-size: 0.95rem;
  color: var(--subtext-color);
  cursor: pointer;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s forwards;
}

.fade-in-up {
  animation: fadeInUp 1s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 6rem 0;
  }
}

@media (max-width: 600px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 10px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 1000;
    gap: 1rem;
  }
  
  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
  
  .hamburger-menu {
    display: block;
  }
}