/*
 * Basic styling for the Nightline Detail landing page.
 * The design uses a dark colour palette with high contrast accents
 * to draw attention to call‑to‑action buttons. The layout is
 * responsive and adapts gracefully on smaller screens.
 */

/* Reset margin and padding */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0f0f0f;
    color: #e5e5e5;
    line-height: 1.6;
}

/* Utility container for consistent width */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top bar styling */
.top-bar {
    background-color: #0c0c0c;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-message {
    color: #999;
}

.top-actions a {
    margin-left: 12px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
}

/* Primary buttons use the accent colour */
.button.primary {
    background-color: #e29b27;
    color: #0f0f0f;
    border: none;
}

/* Secondary buttons have an outline */
.button.secondary {
    border: 1px solid #e29b27;
    color: #e29b27;
    background-color: transparent;
}

/* Small buttons for header links */
.button.small {
    padding: 8px 14px;
    font-size: 13px;
}

/* Generic button styling */
.button {
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.button:hover {
    opacity: 0.9;
}

/* Hero section */
.hero {
    min-height: 70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color: #111;
    padding: 60px 0;
    text-align: center;
}

.hero .logo {
    width: 200px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero .tagline {
    font-size: 20px;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-buttons .button {
    margin: 0 8px;
    padding: 14px 28px;
    font-size: 16px;
}

/* Services section */
.services {
    background-color: #141414;
    padding: 60px 0;
}

.services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #f0f0f0;
}

.card ul {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 20px;
    color: #c7c7c7;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.card .button {
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
}

/* Call‑to‑action section */
.cta-section {
    background-color: #0c0c0c;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ffffff;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #cccccc;
}

.cta-section .button.large {
    font-size: 18px;
    padding: 16px 32px;
    background-color: #e29b27;
    color: #0f0f0f;
    border: none;
}

/* Footer styling */
.footer {
    background-color: #0a0a0a;
    padding: 40px 0;
    color: #777;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e5e5e5;
}

.footer-col a {
    color: #e29b27;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        margin-bottom: 20px;
    }
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero .tagline {
        font-size: 18px;
    }
    .hero-buttons .button {
        display: block;
        margin: 8px auto;
    }
}

/* HERO background image + overlay */
.hero {
    min-height: 70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
    background: #111 url('hero_image.jpg') center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}
.hero .container {
    position: relative;
    z-index: 1;
}
/* Reviews section */
.reviews {
    background-color: #101112;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 60px 0;
}
.reviews h2 { text-align:center; font-size: 30px; margin-bottom: 10px; }
.reviews .sub { text-align:center; color:#aaa; margin-bottom: 18px; }
.review-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
/* Gallery */
.gallery { background-color:#141414; padding:60px 0; }
.gallery h2 { text-align:center; font-size:32px; margin-bottom: 16px; }
.gallery-grid { 
    display:grid; gap:10px; 
    grid-template-columns: repeat(3, 1fr); 
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid img { width:100%; height:100%; object-fit:cover; border-radius:8px; border:1px solid #2a2a2a; }
/* Subtle button hover */
.button.primary:hover { opacity: 0.95; transform: translateY(-1px); }
.button.secondary:hover { opacity: 0.9; }

.review-actions .button { padding: 14px 28px; font-size: 16px; border-radius: 10px; }


/* Make Call Now and Text Us larger and white */
.top-actions a.button.small:not(.primary) {
    background-color: #ffffff;
    color: #000000 !important;
    font-size: 16px;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.top-actions a.button.small:not(.primary):hover {
    background-color: #f2f2f2;
}


/* White buttons (Call Now / Text Us) same size as Book Online */
.top-actions a.button.small:not(.primary) {
    background-color: #ffffff;
    color: #000000 !important;
    font-size: 15px;
    padding: 14px 28px; /* same as large buttons */
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}
.top-actions a.button.small:not(.primary):hover {
    background-color: #f2f2f2;
}


/* Make all top right buttons same size */
.top-actions .button.small {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
}

/* White style for Call Now and Text Us */
.top-actions .button.small:not(.primary) {
    background-color: #ffffff;
    color: #000000 !important;
    transition: background-color 0.2s ease;
}
.top-actions .button.small:not(.primary):hover {
    background-color: #f2f2f2;
}

/* Adjust hero logo position to be more left-aligned */
.hero .logo {
    width: 250px;           /* increase size */
    border-radius: 15px;    /* rounded corners */
    margin-bottom: 20px;
    display: block;
    margin-left: 0;
    margin-right: auto;
    margin-top: -20px;      /* move up */
}

/* ==============================
   Mobile-Only Fixes (<= 768px)
   Keeps desktop styling untouched
   ============================== */
@media (max-width: 768px) {
  /* Prevent sideways scrolling */
  html, body { overflow-x: hidden; }

  /* Container breathing room */
  .container { width: 92%; padding: 0 6px; }

  /* Top bar: stack and make buttons easy to tap */
  .top-bar .container { flex-direction: column; align-items: stretch; gap: 10px; }
  .top-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .top-actions .button.small { width: 100%; text-align: center; padding: 12px 14px; border-radius: 10px; }
  .top-actions .button.small.primary { grid-column: 1 / -1; } /* Book Online spans full width */

  /* Typography that scales nicely */
  h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.15; }
  h2 { font-size: clamp(22px, 5.5vw, 32px); line-height: 1.2; }
  p, li, a { font-size: clamp(14px, 4vw, 16px); }

  /* Hero layout */
  .hero { padding: 36px 0 28px; text-align: center; }
  .hero .logo { width: 200px; margin: 0 auto 12px; border-radius: 14px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-buttons .button { width: 100%; padding: 14px 16px; border-radius: 12px; }

  /* Services → single column cards */
  .service-cards { flex-direction: column; align-items: stretch; gap: 14px; }
  .card { width: 100%; border-radius: 14px; padding: 16px; }
  .card h3 { font-size: 20px; }
  .card ul li { font-size: 14px; }

  /* Reviews section spacing */
  .reviews { padding: 44px 0; }
  .review-actions { flex-direction: column; gap: 10px; }
  .review-actions .button { width: 100%; }

  /* Gallery already responsive; tighten gaps on small screens */
  .gallery-grid { gap: 8px; }
  .gallery-grid img { border-radius: 10px; }

  /* CTA area */
  .cta-section { padding: 44px 0; }
  .cta-section .button.large { width: 100%; border-radius: 12px; padding: 14px 16px; }

  /* Footer columns → stack */
  .footer-content { flex-direction: column; gap: 16px; }
  .footer { padding: 32px 0; }
}

/* Tiny phones (<= 380px) */
@media (max-width: 380px) {
  .top-actions { grid-template-columns: 1fr; }
}

.top-message {
    font-size: 20px;   /* bigger text for the tagline */
    font-weight: bold; /* make it stand out */
    color: #ffffff;    /* white to match the phone number */
  }
  
.top-phone {
    color: #ffffff;       /* white */
    font-weight: bold;    /* bold */
    font-size: 26px;      /* big text */
    margin-left: 60px;    /* more space from message */
    text-decoration: none;
  }
  
  .top-phone:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .top-phone {
      display: block;     /* stack on small screens */
      margin-left: 0;
      margin-top: 6px;
      font-size: 24px;    /* still large on mobile */
    }
  }
  
  