/**
 * Ocean Adventure School - Custom Theme Stylesheet
 */

/* 1. Global Custom Property Variables */
:root {
  --color-ocean-dark: #0c4a6e;
  --color-ocean-light: #e0f2fe;
  --color-blue-brand: #0284c7;
  --color-turquoise: #06b6d4;
  --color-coral: #f43f5e;
  --color-seafoam: #14b8a6;
  --color-bg-body: #f0f9ff;
  --color-text-dark: #0f172a;
  
  --font-heading: 'Dosis', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

body.ocean-theme {
  background-color: var(--color-bg-body);
  font-family: var(--font-body);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

.font-heading {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.font-body {
  font-family: var(--font-body) !important;
}

/* Brand Colors Utilities */
.text-brand { color: var(--color-blue-brand) !important; }
.bg-brand { background-color: var(--color-blue-brand) !important; }
.bg-brand-light { background-color: var(--color-ocean-light) !important; }
.bg-warning-light { background-color: rgba(20, 184, 166, 0.1) !important; border: 1.5px solid var(--color-seafoam); }
.bg-ocean-dark { background-color: var(--color-ocean-dark) !important; }
.bg-ocean-light { background-color: var(--color-ocean-light) !important; }

.btn-ocean {
  background-color: var(--color-coral);
  color: white;
  border: 2px solid white;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 25px;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}
.btn-ocean:hover {
  background-color: #e11d48;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 74, 110, 0.4);
}
.btn-brand {
  background-color: var(--color-blue-brand);
  color: white;
  border: none;
  font-family: var(--font-heading);
}
.btn-brand:hover {
  background-color: var(--color-ocean-dark);
  color: white;
}
.btn-outline-brand {
  border: 2px solid var(--color-blue-brand);
  color: var(--color-blue-brand);
}
.btn-outline-brand:hover {
  background-color: var(--color-blue-brand);
  color: white;
}

/* Navbar */
.navbar {
  border-bottom: 4px solid var(--color-blue-brand) !important;
  background-color: rgba(224, 242, 254, 0.9) !important;
  backdrop-filter: blur(10px);
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--color-ocean-dark);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-coral) !important;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}

/* 2. Hero Section */
.hero-slider-item {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slider-item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.5), rgba(20, 184, 166, 0.2));
}

.hero-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  border: 3px solid var(--color-blue-brand);
  box-shadow: 0 12px 30px rgba(12, 74, 110, 0.15) !important;
}

/* 3. Section Titles */
.section-title {
  color: var(--color-ocean-dark) !important;
}

.section-title::after {
  background-color: var(--color-coral) !important;
  height: 5px;
}

/* 4. Fluid Waves Cards */
.card {
  border-radius: 20px 4px 20px 4px !important; /* Asymmetrical fluid cut */
  border: 2px solid rgba(2, 132, 199, 0.15) !important;
  background-color: white;
  transition: all 0.25s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-blue-brand) !important;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12) !important;
}

/* Specific Card variants */
.hw-card { background-color: #f7fee7; } /* Seaweed light */
.event-card { background-color: #f0fdfa; }
.facility-card { background-color: #f0f9ff; }
.achievement-card { background-color: #f7fee7; }

.birthday-item {
  background-color: white;
  border-radius: 12px;
  border: 2px solid var(--color-blue-brand);
}

/* Dropdowns */
.dropdown-menu {
  background-color: var(--color-ocean-light);
  border: 2px solid var(--color-blue-brand) !important;
}
.dropdown-item {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-ocean-dark);
}
.dropdown-item:hover {
  background-color: var(--color-blue-brand);
  color: white;
}

/* Water Bubbles Canvas style */
#water-bubbles-canvas {
  opacity: 0.7;
}

/* Footer structure */
footer {
  background-color: var(--color-ocean-dark);
  border-top: 4px solid var(--color-blue-brand);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-icon:hover {
  transform: scale(1.1) rotate(-10deg);
  background-color: var(--color-coral);
  color: white !important;
}

.principal-img-frame {
  border: 5px solid var(--color-blue-brand);
  border-radius: 40px 10px 40px 10px;
}
.breadcrumb-item a {
  color: var(--color-blue-brand) !important;
}
.text-muted {
  color: #475569 !important;
}
.text-secondary {
  color: #0369a1 !important;
}
.accordion-button:not(.collapsed) {
  background-color: var(--color-ocean-light) !important;
  color: var(--color-ocean-dark) !important;
  box-shadow: none !important;
}
.bg-brand-light {
  background-color: #f0fdfa !important;
}
.stats-banner .stat-item {
  border: 2px solid var(--color-blue-brand) !important;
}
.top-bar {
  border-bottom: 2px solid var(--color-blue-brand);
}


/* 5. Custom Themed Cursor */
body.ocean-theme, body.ocean-theme a, body.ocean-theme button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='24' font-size='24'%3E🐠%3C/text%3E%3C/svg%3E") 16 16, auto !important; }
