/* --- Variables --- */
:root {
    --primary-blue: #1a2b4c;
    --accent-gold: #b38f4d;
    --white: #ffffff;
}

/* --- Global Styles --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: var(--primary-blue);
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background-color: var(--primary-blue);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    color: var(--white);
}

/* --- Consistent Header Styling --- */
header {
    width: 100%;
    min-height: 150px;
    background-image: url('images/landing.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-bottom: 4px solid #b38f4d;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    gap: 6px;
}

header h1 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

header p {
    margin: 0;
    font-size: clamp(0.85rem, 2.6vw, 1rem);
    letter-spacing: 0.8px;
}

/* Ensure the logo inside is also consistent */
header .logo-container img {
    max-height: 120px;
    width: auto;
}

header img {
    max-width: 150px;
    height: auto;
}

.header-info {
    text-align: right;
    font-size: 0.75rem;
}

nav {
    background-color: var(--primary-blue);
    width: 100%;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 10px;
    border: 1px solid var(--white);
    border-radius: 4px;
    transition: 0.3s;
}

nav a:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}
/* Container holds the track, allowing hidden overflow */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

/* Horizontal track for images */
.carousel-track {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

/* Each framed image item */
.carousel-item {
    min-width: 300px;
    height: 400px;
    border: 8px solid #b38f4d;
    box-sizing: border-box;
    background-color: #000;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
}

/* Constrain images to fit within the screen */
.about-gallery img {
    width: 45%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive: stack them if the screen is very small */
@media (max-width: 600px) {
    .about-gallery {
        flex-direction: column;
        align-items: center;
    }
    .about-gallery img {
        width: 90%;
    }
}
/* --- Adjusting Contact Form Inputs --- */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Make the textarea even taller for better visibility */
textarea {
    height: 150px;
}
/* Add this to style.css */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}
/* Ensure the address card text is always small and consistent */
.header-info {
    text-align: right;
    font-size: 0.75rem;
}

/* Ensure the h3 (Business Name) in the header doesn't blow out the layout */
.header-info h3 {
    margin: 0;
    font-size: 1rem;
}
/* --- Fade In Animation --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-element {
    animation: fadeIn 6s ease-in-out;
}
/* --- Hero Text Overlay & Fade-In Animation --- */

/* Keyframe animation that goes from invisible to fully visible */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Container to position the image and text together */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the text box itself */
.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 80%;
  box-sizing: border-box;
}

/* Increases the text size within the overlay */
.hero-text-overlay p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Fade In and Fade Out Animation --- */
@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.fade-in-element {
  opacity: 0;
  animation: fadeInOut 14s ease-in-out forwards;
}
/* --- Modern Form Styling --- */

/* Style the form container for better spacing */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Style all input fields and textareas */
input[type="text"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Style the Submit button */
button[type="submit"] {
    background-color: var(--accent-gold);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #d4ac0d;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding: 20px;
}

.contact-details, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

/* Style the form to be compact */
.contact-form-container form {
    display: flex;
    flex-direction: column;
}

.contact-form-container input, 
.contact-form-container textarea {
    margin-bottom: 15px;
    padding: 10px;
}
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-gold);
    color: var(--dark-charcoal);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 9999;
}

.floating-cta:hover {
    background-color: var(--accent-gold-hover);
    transform: scale(1.05);
}
.header-info {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
    line-height: 1.4;
    font-size: 0.9rem;
    display: inline-block;
    text-align: left;
}

.header-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #c5a059;
}

.header-info p {
    margin: 2px 0;
}
footer {
    text-align: left;
    padding: 30px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-top: 1px solid var(--accent-gold);
    margin-top: 40px;
}

.social-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}
/* Style for the Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.header-info {
    text-align: right;
}

/* Style for the Navigation Bar */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: #002244; 
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
/* Styling for the new info block */
.info-block {
    background-color: rgba(26, 26, 26, 0.85);
    border: 2px solid #c5a059;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-left: auto;
    text-align: right;
}

.info-block a {
    color: #c5a059;
    text-decoration: none;
    font-weight: bold;
}

.info-block a:hover {
    text-decoration: underline;
}
.nav-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* Optional: Style your links to look good */
.nav-container a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    text-transform: uppercase;
}
/* Center text inside the main container */
.container h2, 
.container p {
    text-align: center;
}
/* Container for the background image/hero section */
.hero-fade-container {
    width: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('images/landing.jpg') no-repeat center center/cover;
}

/* The semi-transparent grey box */
.fade-in-box {
    background-color: rgba(50, 50, 50, 0.7);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    max-width: 600px;
    border: 1px solid #b38f4d;
    opacity: 0;
    animation: fadeInAnimation 2s ease-in forwards;
}

/* The fade-in animation */
@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Button style inside the box */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #b38f4d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

@keyframes slideLoop {
    0%   { transform: translateX(0%); }
    8.33%  { transform: translateX(-8.33%); }
    16.66% { transform: translateX(-16.66%); }
    25%    { transform: translateX(-25%); }
    33.33% { transform: translateX(-33.33%); }
    41.66% { transform: translateX(-41.66%); }
    50%    { transform: translateX(-50%); }
    58.33% { transform: translateX(-58.33%); }
    66.66% { transform: translateX(-66.66%); }
    75%    { transform: translateX(-75%); }
    83.33% { transform: translateX(-83.33%); }
    91.66% { transform: translateX(-91.66%); }
    100%   { transform: translateX(0%); }
}

/* 1. Reset the carousel's stacking context */
.carousel-container {
  position: relative;
  z-index: 1; 
}

/* 2. Break the lightbox out of all containers */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2147483647 !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  position: fixed !important; 
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  object-fit: contain;
}

/* Mobile-only header adjustments */
@media (max-width: 767px) {
  header {
    min-height: 96px;
    padding: 10px 8px;
    gap: 2px;
  }

  header h1 {
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: 0.3px;
  }

  header p {
    font-size: 0.68rem;
    line-height: 1.15;
    letter-spacing: 0.25px;
  }

  nav {
    padding: 6px 8px;
    gap: 5px;
    justify-content: center;
  }

  nav a {
    font-size: 0.68rem;
    padding: 6px 8px;
    line-height: 1.1;
    flex: 0 1 auto;
    max-width: none;
    min-width: 0;
    text-align: center;
  }

  .logo-side img {
    max-width: 130px;
    margin-bottom: 6px;
  }

  .header-info {
    margin-top: 4px;
  }

  .header-info h3 {
    margin: 4px 0;
    font-size: 1rem;
  }

  .header-info p {
    margin: 1px 0;
    font-size: 0.8rem;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 10px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  }
}

@media (max-width: 600px) {
  header {
    min-height: 88px;
    padding: 8px 6px;
  }

  header h1 {
    font-size: 0.95rem;
  }

  header p {
    font-size: 0.62rem;
  }

  nav {
    padding: 5px 6px;
    gap: 4px;
  }

  nav a {
    font-size: 0.64rem;
    padding: 5px 7px;
  }

  .header-info h3 {
    margin-bottom: 4px;
  }

  .header-info p {
    margin: 1px 0;
    font-size: 0.8rem;
  }

  .floating-cta {
    right: 10px;
    bottom: 10px;
    padding: 9px 14px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  header {
    min-height: 82px;
    padding: 8px 5px;
  }

  header h1 {
    font-size: 0.88rem;
  }

  header p {
    font-size: 0.58rem;
  }

  nav {
    padding: 4px 5px;
    gap: 3px;
  }

  nav a {
    font-size: 0.6rem;
    padding: 4px 6px;
  }

  .floating-cta {
    right: 8px;
    bottom: 8px;
    padding: 8px 12px;
    font-size: 0.66rem;
    letter-spacing: 0.35px;
  }
}
