/*
Theme Name: Kundutel Hotel
Theme URI: https://goldfieldkundutel.com
Author: Goldenfield Kundutel Hotel
Description: Landing page theme for Goldenfield Kundutel Hotel, Bacolod City
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kundutel-hotel
*/

/* ============================================================
   BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: #001529;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* ============================================================
   HERO COVER
============================================================ */
.caribbean-hero .wp-block-cover__background {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 21, 41, 0.80) 100%
  ) !important;
  opacity: 1 !important;
}

.caribbean-hero .wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* ============================================================
   LOGO BLOCK
============================================================ */
.caribbean-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.caribbean-logo-wrap img,
.caribbean-logo-img {
  max-width: 360px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(244, 208, 63, 0.28));
}

.caribbean-title-fallback {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  text-align: center;
}

.caribbean-subtitle {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 0.25rem;
  line-height: 1.1;
  text-align: center;
}

/* ============================================================
   DESCRIPTION
============================================================ */
.caribbean-desc {
  max-width: 640px;
  font-size: 1.05rem !important;
  color: #ffffff !important;
  font-weight: 300;
  line-height: 1.75 !important;
  margin: 1.25rem auto 2.25rem !important;
  text-align: center;
}

.caribbean-desc strong {
  color: #ffffff;
  font-style: italic;
  font-weight: 600;
}

/* ============================================================
   BUTTONS
============================================================ */
.caribbean-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.caribbean-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #e74c3c;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.caribbean-btn-primary:hover {
  background: #c0392b;
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

.caribbean-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.75);
  color: #001529 !important;
  text-decoration: none !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.caribbean-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.90);
  transform: scale(1.04);
}

.caribbean-btn-secondary .btn-icon {
  stroke: #001529;
}

.caribbean-btn-icon-only .btn-icon {
  fill: #001529;
  stroke: none;
}

.caribbean-btn-secondary .btn-icon,
.caribbean-btn-primary .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Facebook icon-only button */
.caribbean-btn-icon-only {
  padding: 1rem;
  aspect-ratio: 1;
  justify-content: center;
}

.caribbean-btn-icon-only .btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

/* ============================================================
   INFO CARDS
============================================================ */
.caribbean-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
}

.caribbean-card {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.caribbean-card:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

/* card-center uses same glass style as siblings */

.caribbean-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.caribbean-card:hover .caribbean-card-icon {
  transform: scale(1.1);
}

.caribbean-card-icon.blue,
.caribbean-card-icon.gold,
.caribbean-card-icon.red  { background: rgba(37, 99, 235, 0.45); }

.caribbean-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.caribbean-card h3 {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #001529;
  margin: 0 0 0.4rem !important;
  line-height: 1.3 !important;
}

.caribbean-card p {
  font-size: 0.875rem !important;
  color: #001529 !important;
  line-height: 1.65;
  margin: 0 !important;
}

/* ============================================================
   FOOTER
============================================================ */
.caribbean-footer {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 1.5rem;
}

.caribbean-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.caribbean-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.caribbean-footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.caribbean-footer-brand span {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72) !important;
  letter-spacing: -0.01em;
}

.caribbean-footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.caribbean-footer-social a {
  color: rgba(255, 255, 255, 0.35) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.caribbean-footer-social a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.caribbean-footer-social svg {
  width: 20px;
  height: 20px;
}

.caribbean-footer-copy {
  font-size: 0.6rem !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.25) !important;
  margin: 0 !important;
}

/* ============================================================
   ANIMATIONS
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: cwFadeUp 0.8s ease forwards;
}

.fade-up-d1 { animation-delay: 0.25s; }
.fade-up-d2 { animation-delay: 0.50s; }
.fade-up-d3 { animation-delay: 0.75s; }

@keyframes cwFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1060px) {
  .caribbean-cards {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
  }

  .caribbean-card {
    width: 320px;
  }

  .caribbean-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .caribbean-logo-wrap img,
  .caribbean-logo-img {
    max-width: 280px;
  }

  .caribbean-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .caribbean-btn-primary,
  .caribbean-btn-secondary {
    justify-content: center;
  }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
