/*
Theme Name: Astra Child - Turtle Island Bali
Template: astra
Description: Custom ocean-themed child theme for Turtle Island Bali tourism website
Version: 1.0
Author: Juara Holding Group
*/

:root {
  --tib-primary: #0E7C7B;
  --tib-secondary: #FF6B35;
  --tib-dark: #1A2E35;
  --tib-light: #F0F8F7;
  --tib-ocean: #0A5E5C;
  --tib-sand: #F5E6D3;
  --tib-coral: #FF8C61;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; }

/* Header */
.ast-primary-header, .site-header { background: linear-gradient(135deg, var(--tib-dark) 0%, var(--tib-primary) 100%); }
.ast-primary-header .site-title a, .main-header-menu a { color: #fff !important; }
.main-header-menu a:hover { color: var(--tib-coral) !important; }
.site-title { font-size: 1.5em; font-weight: 700; }

/* Hero Section */
.entry-content h2:first-child { font-size: 2.2em; color: var(--tib-primary); border-bottom: 3px solid var(--tib-secondary); padding-bottom: 15px; margin-bottom: 25px; }

/* Headings */
h1, h2, h3, h4 { color: var(--tib-dark); }
h2 { color: var(--tib-primary); font-size: 1.8em; margin-top: 40px; }
h3 { color: var(--tib-ocean); font-size: 1.4em; margin-top: 30px; border-left: 4px solid var(--tib-secondary); padding-left: 15px; }

/* Links */
a { color: var(--tib-primary); transition: color 0.3s; }
a:hover { color: var(--tib-secondary); }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 20px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }
th { background: var(--tib-primary); color: #fff; padding: 12px 16px; text-align: left; }
td { padding: 12px 16px; border-bottom: 1px solid #eee; }
tr:nth-child(even) { background: var(--tib-light); }
tr:hover { background: var(--tib-sand); }

/* Content Styling */
.entry-content p { line-height: 1.8; margin-bottom: 18px; font-size: 1.05em; }
.entry-content ul { padding-left: 20px; }
.entry-content li { margin-bottom: 12px; line-height: 1.7; }
.entry-content strong { color: var(--tib-dark); }

/* CTA Buttons */
.wp-block-button__link, .elementor-button, input[type="submit"] {
  background: linear-gradient(135deg, var(--tib-secondary) 0%, var(--tib-coral) 100%) !important;
  color: #fff !important; border: none; border-radius: 30px; padding: 14px 32px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3); transition: all 0.3s;
}
.wp-block-button__link:hover, .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px; z-index: 9999;
  background: #25D366; color: #fff; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  text-decoration: none; transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); color: #fff; }

/* Footer */
.site-footer { background: var(--tib-dark); color: #ccc; }
.site-footer a { color: var(--tib-coral); }
.site-footer a:hover { color: var(--tib-secondary); }

/* Responsive */
@media (max-width: 768px) {
  .entry-content h2:first-child { font-size: 1.6em; }
  h2 { font-size: 1.4em; }
  h3 { font-size: 1.2em; }
  table { font-size: 0.9em; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 15px; right: 15px; }
}
