/* ============================================
   CUSTODE — EDITABLE SITE SETTINGS
   Change these values to update across the site
   ============================================
   Business Name:     Custode
   Tagline:           Where fine vehicles are kept
   Phone:             [PHONE NUMBER]
   Email:             [EMAIL ADDRESS]
   Location:          Northern Ireland
   Domain:            custodestorage.co.uk
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Montserrat:wght@300;400;500&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --black:        #0a0a0a;
  --charcoal:     #141414;
  --charcoal-mid: #1e1e1e;
  --teal:         #1a6b5e;
  --racing-green: #1a4a2e;
  --gold:         #c9a84c;
  --gold-light:   #e8c97a;
  --cream:        #f5f2ec;
  --white:        #ffffff;
  --grey:         #888888;
  --grey-light:   #bbbbbb;

  /* ============================================
     HERO IMAGE PATH — edit this one line to swap hero
     ============================================ */
  --hero-image: url('../images/hero.png');

  --nav-height: 80px;
  --max-width: 1200px;
  --section-pad: 100px 40px;
  --section-pad-mobile: 70px 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--grey-light);
  letter-spacing: 0.08em;
  margin-bottom: 60px;
  text-transform: uppercase;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s ease;
}

/* Mobile overlay nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--cream);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-overlay a:hover {
  color: var(--gold);
}

.nav-overlay-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: var(--grey);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logo {
  width: 130px;
  height: auto;
  margin-bottom: 28px;
  opacity: 0.95;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 480px;
}

.hero-rule::before,
.hero-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cream);
  letter-spacing: 0.05em;
  font-weight: 300;
}

.hero-cta {
  margin-top: 48px;
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  background: transparent;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 2.4s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   OFFER SECTION
   ============================================ */
.offer {
  background: var(--charcoal);
  padding: var(--section-pad);
  text-align: center;
}

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

.offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.12);
  margin-top: 60px;
}

.offer-card {
  background: var(--charcoal);
  padding: 52px 36px;
  text-align: center;
  border-top: 2px solid var(--gold);
  transition: background 0.3s ease;
}

.offer-card:hover {
  background: var(--charcoal-mid);
}

.offer-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.offer-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.offer-card p {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: var(--black);
  padding: var(--section-pad);
  text-align: center;
}

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

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 60px;
}

.pricing-card {
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 52px 36px;
  text-align: center;
  position: relative;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.pricing-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.pricing-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-card-price span {
  font-size: 1.2rem;
  color: var(--grey);
}

.pricing-card-desc {
  font-size: 0.8rem;
  color: var(--grey-light);
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.addons {
  max-width: 680px;
  margin: 0 auto 50px;
  border: 1px solid rgba(255,255,255,0.06);
}

.addons-heading {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 20px 32px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Montserrat', sans-serif;
}

.addons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s ease;
}

.addons-row:last-child {
  border-bottom: none;
}

.addons-row:hover {
  background: rgba(255,255,255,0.02);
}

.addons-row-name {
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 300;
}

.addons-row-price {
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--grey);
  font-style: italic;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  padding: 15px 48px;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  background: transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================================
   WHY CUSTODE SECTION
   ============================================ */
.why {
  background: var(--charcoal);
  padding: var(--section-pad);
  text-align: center;
}

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

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.1);
  margin-top: 60px;
  text-align: left;
}

.why-item {
  background: var(--charcoal);
  padding: 52px 44px;
  transition: background 0.3s ease;
}

.why-item:hover {
  background: var(--charcoal-mid);
}

.why-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 300;
}

.why-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.9;
  font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding: 64px 40px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.85;
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--grey);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-heading {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--grey-light);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.8rem;
  color: var(--grey-light);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact-heading {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
  display: block;
}

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

.footer-bottom p,
.footer-bottom a {
  font-size: 0.72rem;
  color: var(--grey);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  height: 420px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--nav-height);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-header p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 300;
}

/* ============================================
   TERMS PAGE
   ============================================ */
.terms-content {
  background: var(--charcoal);
  padding: 80px 40px;
}

.terms-inner {
  max-width: 840px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.terms-section p {
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 14px;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-closing-note {
  font-style: italic;
  color: var(--grey) !important;
  margin-top: 20px;
}

/* ============================================
   ENQUIRY FORM PAGE
   ============================================ */
.enquiry-section {
  background: var(--charcoal);
  padding: 80px 40px;
}

.enquiry-inner {
  max-width: 700px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-color: rgba(201, 168, 76, 0.3);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
  font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--charcoal-mid);
  color: var(--cream);
}

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

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

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 12px;
}

.btn-submit:hover {
  background: var(--charcoal-mid);
  color: var(--gold);
  outline: 1px solid var(--gold);
}

.form-note {
  font-size: 0.78rem;
  color: var(--grey);
  font-style: italic;
  text-align: center;
  margin-top: 24px;
  line-height: 1.8;
}

.form-success {
  display: none;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  margin-top: 32px;
  text-align: center;
}

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.85rem;
  color: var(--grey-light);
  font-weight: 300;
}

.field-error {
  font-size: 0.72rem;
  color: #c9614c;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #c9614c;
}

.form-group.has-error .field-error {
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-title {
    letter-spacing: 0.2em;
  }

  .offer-cards {
    grid-template-columns: 1fr;
  }

  .offer-card {
    border-top: none;
    border-left: 2px solid var(--gold);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .offer,
  .pricing,
  .why,
  .terms-content,
  .enquiry-section {
    padding: var(--section-pad-mobile);
  }

  .footer {
    padding: 52px 24px 0;
  }

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

  .addons-row {
    padding: 14px 20px;
  }

  .addons-heading {
    padding: 16px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .offer-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .nav {
    padding: 0 32px;
  }
}
