/* =============================
   CSS CUSTOM PROPERTIES
============================= */
:root {
  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Cardo", serif;

  --color-bg: #000000;
  --color-text: #f5f5f5;
  --color-muted: rgba(255, 255, 255, 0.6);
  --color-primary: #27a776;
  --color-accent: #6F77D9;

  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 60px;

  /* Override Bootstrap's heading color variable so all BS components
     inherit white text on the dark backgrounds used throughout this site */
  --bs-heading-color: #ffffff;

  /* Override Bootstrap's body color variable — this keeps BS component
     internals (dropdowns, modals, etc.) consistent with the site palette */
  --bs-body-color: #ffffff;
  --bs-body-bg: #000000;

  scroll-behavior: smooth;
}

/* =============================
   BASE / RESET
============================= */
body {
  font-family: var(--font-base);
  background-color: #888888;
  color: #ffffff;
  line-height: 1.5;
}

h3 {
  font-weight: 300;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  font-size: large;
}

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

a:hover {
  color: #3533E0;
}

p {
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
}

/* =============================
   LAYOUT
============================= */
.section {
  padding: var(--spacing-lg) 0;
}

.site-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* =============================
   HEADER
============================= */
.header {
  padding: var(--spacing-md) 0;
  background-color: #66878C;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 500;
}

/* =============================
   NAVIGATION
============================= */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 35px;
  list-style: none;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.70);
  font-size: medium;
  text-transform: uppercase;
  padding: 10px 20px;
}

.nav-list a:hover {
  color: #000000;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* =============================
   HERO
============================= */
#hero-section {
  background-color: #5B5B5B;
  background-position: right 0%;
  background-size: cover;
  padding-top: 20px;
  padding-bottom: 20px;
}

#hero-section h1 {
  text-transform: uppercase;
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: #ffffff;
}

#hero-section h2 {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ffffff;
}

#hero-section h3 {
  line-height: 1.8;
  max-width: 680px;
  color: #ffffff;
  font-size: x-large;
}

/* =============================
   ABOUT
============================= */
.about {
  display: flex;
  justify-content: center;
  padding: 60px 40px;
}

.about-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-direction: row;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-inner.reverse {
  flex-direction: column;
}

.about-text {
  max-width: 100%; /* Fixed: was invalid value "1" */
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-text button {
  margin-top: 15px;
  margin-bottom: 15px;
  max-width: 500px;
}

.about-img {
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Tablet */
@media (max-width: 768px) {
  .about {
    padding: 40px 24px;
  }

  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    width: 70%;
    max-width: 320px;
  }

  .about-text h1 {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .about {
    padding: 30px 16px;
  }

  .about-img {
    width: 90%;
  }

  .about-text h1 {
    font-size: 1.6rem;
  }

  .about-text h2 {
    font-size: 1rem;
  }

  .btn-lg {
    width: 100%;
  }
}

/* =============================
   GALLERY
============================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  background-color: #000000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* NOTE: Removed .gallery .row grid override — it conflicted with Bootstrap's
   flexbox .row. If you need a 3-column gallery layout, use Bootstrap's
   col-md-4 columns inside a .row instead, or apply a separate class. */

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.dark-section h1,
.dark-section h2 {
  color: #ffffff;
}

/* =============================
   BUTTONS
   Uses .site-btn- prefix to avoid overriding Bootstrap's .btn variants.
   The Bootstrap .btn base style has been left to Bootstrap — see note below.
============================= */

/* NOTE ON .btn CONFLICT:
   The original main.css hardcoded background-color: #4C907A on .btn,
   which overrode ALL Bootstrap button variants (.btn-primary, .btn-info,
   .btn-danger, etc.). This has been removed. Bootstrap's .btn now works
   as intended. The site uses .btn.btn-info throughout the HTML, which
   renders in Bootstrap's teal color. If you want a custom brand-colored
   button, add a new class e.g. .btn-brand and style it separately. */

.site-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.site-btn-primary {
  color: white;
  border: none;
}

.site-btn-primary:hover {
  background-color: #229368;
  color: #5756EC;
}

/* =============================
   CONTACT SECTION
============================= */
.contact-section {
  background: #0e0e0e;
  padding-top: 15px;
  padding-bottom: 15px;
  font-family: 'Helvetica Neue', sans-serif;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro h2 {
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 1px;
}

.contact-intro p {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-note {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.contact-info a {
  color: #9CEFE8;
  text-decoration: none;
}

.contact-info a:hover {
  color: #3C8781;
}

/* =============================
   CONTACT FORM
============================= */
.contact-form {
  text-align: left;
}

.form-row {
  margin-bottom: 25px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #ffffff;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #fff;
  color: #ffffff;
}

/* Contact submit button — separate class to avoid Bootstrap .btn conflict */
.contact-btn {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact-btn:hover {
  background: #fff;
  color: #000;
}

.contact-btn .btn-loading {
  display: none;
}

.contact-btn.loading .btn-text {
  display: none;
}

.contact-btn.loading .btn-loading {
  display: inline;
}

/* =============================
   FORM STATUS
============================= */
.form-status {
  margin-top: 20px;
  font-size: 18px;
  display: none;
}

.form-status.success {
  color: #2ecc71;
}

.form-status.error {
  color: #e74c3c;
}

/* =============================
   FOOTER
============================= */
.footer {
  padding: var(--spacing-md) 0;
  text-align: center;
  color: var(--color-muted);
  align-items: center;
  background-color: #66878C;
  margin-top: 20px;
}

.footer img {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}

/* =============================
   CAROUSEL
============================= */
#glamourCarousel .carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  #glamourCarousel .carousel-item img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  #glamourCarousel .carousel-item img {
    height: 250px;
  }
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {

  h1 {
    font-size: xx-large;
    color: #ffffff;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
    text-align: center;
  }

  .nav.active {
    display: block;
  }

  .about-img {
    max-width: 300px;
    width: 100%;
    height: auto;
  }

  .about-text {
    max-width: 100%;
  }

  .about-img,
  .about-text {
    width: 100%;
  }

} /* <-- This closing brace was missing in the original, causing all rules
       below it to be swallowed inside the media query */
