/* ===========================
   GLOBAL STYLES
=========================== */
/* Ensure page takes full height */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column; /* optional, only if you need vertical layout */
}


/* Main grows to fill space */
main.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Footer always sticks to bottom */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(28, 5, 5, 0.85);
  color: #D8C7B2;
  font-size: 0.9rem;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("../images/background_new.png") no-repeat center center fixed;
  background-size: cover;
  color: #E6D9C5;
}

/* Overlay for readability */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 5, 5, 0.75);
  z-index: -1;
}

/* ===========================
   HEADER & NAV
=========================== */
header {
  background: rgba(44, 11, 11, 0.95);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  
  /* Uniform shadow and glow */
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.5),  /* soft shadow below */
    0 0 20px rgba(255, 255, 255, 0.15), /* uniform glow around */
    inset 0 0 10px rgba(255,255,255,0.1), /* inner soft highlight */
    inset 0 0 8px rgba(0,0,0,0.2);       /* inner depth */
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift on hover with same uniform shadow */
.logo-container img:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 
    0 10px 18px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(255, 255, 255, 0.2),
    inset 0 0 12px rgba(255,255,255,0.15),
    inset 0 0 10px rgba(0,0,0,0.25);
}




.brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #E6D9C5;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

nav ul li a.active {
  color: #fff;
  border-bottom: 2px solid #C29B88; /* subtle underline */
}

nav ul li a {
  text-decoration: none;
  color: #E6D9C5;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #C4A880;
}

/* ===========================
   SECTIONS
=========================== */
section, .contact-card {
  background: rgba(44, 11, 11, 0.85);
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3 {
  color: #E6D9C5;
  text-align: center;
  margin-bottom: 1rem;
}

p {
  color: #D8C7B2;
  line-height: 1.6;
}

a {
  color: #C29B88;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===========================
   BUTTONS
=========================== */
button, .btn {
  background: #800020;
  color: #E6D9C5;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover, .btn:hover {
  background: #A63232;
}

/* ===========================
   CONTACT FORM
=========================== */
.contact-card form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #E6D9C5;
}

.contact-card form input,
.contact-card form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.2rem;
  border: 1px solid #C4A880;
  border-radius: 8px;
  background-color: #2C0B0B;
  color: #E6D9C5;
  font-size: 1rem;
}

.contact-card form input::placeholder,
.contact-card form textarea::placeholder {
  color: #cbbba7;
}

.contact-card form input:focus,
.contact-card form textarea:focus {
  border-color: #fff;
  outline: none;
}

.contact-card form button {
  background-color: #E6D9C5;
  color: #2C0B0B;
  font-weight: bold;
}

.contact-card form button:hover {
  background-color: #fff;
  color: #2C0B0B;
}

/* ===========================
   FOOTER
=========================== */
footer {
  margin-top: 50px;
  text-align: center;
  padding: 15px;
  background: rgba(28, 5, 5, 0.9);
  color: #D8C7B2;
  font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  section, .contact-card {
    padding: 1.5rem;
  }
}
