/* ==========================================================================
   Great Winner World Records - Global Styles
   ========================================================================== */

:root {
  --color-primary: #5B1F4A;
  --color-secondary: #7A2C5C;
  --color-accent: #F2C94C;
  --color-highlight: #E67E22;
  --color-support: #3E8E5A;
  --color-bg: #FFF8EC;
  --color-bg-alt: #FBEFD6;
  --color-text: #2A0E25;
  --color-text-muted: #6B4E63;
  --color-white: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', Tahoma, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(42, 14, 37, 0.08);
  --shadow-md: 0 6px 18px rgba(42, 14, 37, 0.12);
  --shadow-lg: 0 12px 32px rgba(42, 14, 37, 0.18);

  --container: 1200px;
  --transition: 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--color-highlight);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin-bottom: 1em; }

ul, ol { padding-left: 1.2em; margin-bottom: 1em; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

/* ==========================================================================
   Top Info Bar (phone + email above header)
   ========================================================================== */
.topbar {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--color-accent);
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: var(--color-accent);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .topbar { padding: 6px 0; font-size: 0.75rem; }
  .topbar .container { gap: 0.5rem; justify-content: center; }
  .topbar-left,
  .topbar-right { gap: 0.85rem; }
  .topbar a { gap: 0.35rem; }
}

@media (max-width: 480px) {
  .topbar { font-size: 0.7rem; }
  .topbar svg { width: 12px; height: 12px; }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 236, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 140px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

.nav-menu a.btn {
  padding: 0.55rem 1.4rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(242, 201, 76, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 126, 34, 0.18), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem 1.25rem;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.hero h1 .accent {
  color: var(--color-accent);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: var(--color-bg-alt);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: block;
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Category card */
.category-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.category-card:hover {
  border-top-color: var(--color-highlight);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-primary);
}

/* Stats */
.stats {
  background: var(--color-bg-alt);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.25);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.error-msg {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success {
  background: #e9f7ef;
  border-left: 4px solid var(--color-support);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #1d6b3a;
  margin-bottom: 1rem;
  display: none;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(91, 31, 74, 0.55), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42, 14, 37, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.25rem;
  cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.25rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li { margin-bottom: 0.5rem; }

.footer-grid a:hover {
  color: var(--color-accent);
}

.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: 0.6rem; }
.footer-contact li a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact svg {
  flex-shrink: 0;
}

.footer-brand img {
  height: 90px;
  width: 90px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background var(--transition);
  color: var(--color-white);
}

.social-links a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Misc components
   ========================================================================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-accent);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.divider {
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 1.5rem;
  border-radius: var(--radius-pill);
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-highlight));
  color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
}

/* Feature image used in About snippet (home + about pages) */
.feature-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

@media (max-width: 768px) {
  .feature-image { max-height: 360px; }
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Floating Call Button (bottom-left)
   ========================================================================== */
.floating-call {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.45);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: gwwr-call-shake 1.6s ease-in-out infinite;
}

.floating-call:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(26, 115, 232, 0.55);
  color: #fff;
}

.floating-call svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  position: relative;
  z-index: 2;
}

.floating-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(26, 115, 232, 0.55);
  background: rgba(26, 115, 232, 0.25);
  animation: gwwr-call-pulse 2s ease-out infinite;
  z-index: 1;
}

.floating-call-ring:nth-of-type(2) { animation-delay: 0.6s; }
.floating-call-ring:nth-of-type(3) { animation-delay: 1.2s; }

.floating-call-label {
  position: absolute;
  left: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #2A0E25;
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.floating-call-label::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 6px 6px 6px 0;
  border-color: transparent #2A0E25 transparent transparent;
}
.floating-call:hover .floating-call-label { opacity: 1; }

@keyframes gwwr-call-shake {
  0%, 50%, 100% { transform: rotate(0); }
  10%, 30%     { transform: rotate(-14deg); }
  20%, 40%     { transform: rotate(14deg); }
}

@keyframes gwwr-call-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(2.4);  opacity: 0; }
}

@media (max-width: 768px) {
  .floating-call {
    bottom: 16px;
    left: 16px;
    width: 54px;
    height: 54px;
  }
  .floating-call svg { width: 24px; height: 24px; }
  .floating-call-label { display: none; }
}

/* ---- WhatsApp variant (right side, green) ---- */
.floating-whatsapp {
  left: auto;
  right: 24px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.floating-whatsapp:hover {
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55);
}
.floating-whatsapp .floating-call-ring {
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.25);
}
.floating-whatsapp .floating-call-label {
  left: auto;
  right: 72px;
}
.floating-whatsapp .floating-call-label::before {
  left: auto;
  right: -6px;
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent #2A0E25;
}

@media (max-width: 768px) {
  .floating-whatsapp { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-call,
  .floating-call-ring { animation: none; }
}
