/* ============================================================
   GGB Sip — Main Stylesheet
   Color Palette: Deep Oak / Sunset Orange / Steel Blue / Parchment
   ============================================================ */

:root {
  --color-deep-oak: #5C2E1A;
  --color-sunset: #E8742D;
  --color-sunset-hover: #D0601C;
  --color-steel: #3D5C73;
  --color-steel-light: #5A7D96;
  --color-parchment: #F8F4EE;
  --color-parchment-dark: #EBE4D8;
  --color-white: #FFFFFF;
  --color-slate: #4A4D52;
  --color-text: #1E1815;
  --color-text-light: #5C5048;
  --color-success: #4A8C5C;
  --color-border: #D5CCC2;
  --color-card: #FFFFFF;
  --color-footer: #3A1F12;
  --color-hero-overlay: #2C1810;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

*,
*::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.7;
  color: var(--color-text);
  background-color: var(--color-parchment);
  overflow-x: hidden;
}

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

h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.45rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

a {
  color: var(--color-sunset);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-sunset-hover);
  text-decoration: underline;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-deep-oak);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-deep-oak);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background-color: var(--color-sunset);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--color-parchment-dark);
  color: var(--color-deep-oak);
  text-decoration: none;
}

.nav-cta {
  background-color: var(--color-sunset) !important;
  color: var(--color-white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
}

.nav-cta:hover {
  background-color: var(--color-sunset-hover) !important;
  color: var(--color-white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-deep-oak);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  padding: 160px 24px 100px;
  background: linear-gradient(135deg, var(--color-deep-oak) 0%, #3A1F12 40%, var(--color-steel) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 116, 45, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 92, 115, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-sunset);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  color: #E9E2DA;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: var(--color-sunset-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 116, 45, 0.35);
  color: var(--color-white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 90px 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .section-tag {
  display: inline-block;
  color: var(--color-sunset);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(92, 46, 26, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-icon.orange { background-color: #FDE8D9; color: var(--color-sunset); }
.service-icon.steel { background-color: #DCE7EF; color: var(--color-steel); }
.service-icon.green { background-color: #D8ECE1; color: var(--color-success); }
.service-icon.brown { background-color: #F0E8E4; color: var(--color-deep-oak); }
.service-icon.gold { background-color: #FDF0DD; color: #B8860B; }
.service-icon.slate { background-color: #E8EAED; color: var(--color-slate); }

.service-card h3 {
  color: var(--color-deep-oak);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT / STATS
   ============================================================ */

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--color-steel) 0%, var(--color-steel-light) 100%);
  border-radius: 16px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}

.about-image-placeholder .placeholder-text {
  font-family: var(--font-heading);
  color: #C9C4BE;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 18px;
}

/* ============================================================
   STATS
   ============================================================ */

.stats-section {
  background-color: var(--color-deep-oak);
  padding: 70px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-sunset);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: #DCD5CC;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.25s ease;
}

.feature-item:hover {
  border-color: var(--color-sunset);
}

.feature-check {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #D8ECE1;
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-text h3 {
  color: var(--color-deep-oak);
  margin-bottom: 6px;
}

.feature-text p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--color-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text span {
  display: block;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text p {
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--color-sunset);
  text-decoration: none;
}

.contact-form-card {
  background-color: var(--color-parchment);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--color-border);
}

.contact-form-card h3 {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-deep-oak);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-sunset);
  box-shadow: 0 0 0 3px rgba(232, 116, 45, 0.1);
}

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

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 16px;
  font-size: 0.9rem;
}

.form-message.success {
  display: block;
  background-color: #D8ECE1;
  color: #2D5A27;
  border: 1px solid #A3D4B1;
}

.form-message.error {
  display: block;
  background-color: #FDE8D9;
  color: #8B3A1A;
  border: 1px solid #F0B898;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--color-steel) 0%, var(--color-steel-light) 100%);
  padding: 80px 24px;
  text-align: center;
}

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

.cta-banner p {
  color: #E9E2DA;
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-footer);
  color: #C4BDB4;
  padding: 48px 24px 24px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: #A79F96;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #B0A99F;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-sunset);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: #8F877E;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #9E968D;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--color-sunset);
  text-decoration: none;
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: var(--color-sunset);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(232, 116, 45, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-sunset-hover);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-placeholder { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 90px 28px 40px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s ease;
    gap: 8px;
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 130px 20px 70px; }

  .services-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-section { padding: 50px 20px; }
  .stat-number { font-size: 2.2rem; }

  .section { padding: 60px 20px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
  .stats-grid { gap: 20px; }
  .back-to-top { bottom: 20px; right: 20px; }
}
