body {
  margin: 0;
  padding: 0;
  font-family: 'Rock Salt', cursive, sans-serif;
  background: url('../images/bg-stone.jpg') repeat;
  color: #3c2c1e;
}

h2, h3 {
  color: #5c3a1e;
}

/* Colors */
.text-gold {
  color: #d4af37;
}

.btn-gold {
  background-color: #d4af37;
  color: white;
  border: none;
}

.btn-gold:hover {
  background-color: #c29b2e;
  color: #fff;
}

.text-white {
  color: white;
}

.text-purple {
  color: #6f42c1;
}

.text-brown {
  color: #4d2c1a;
}

.bg-gradient-light {
  background: linear-gradient(180deg, #fff 0%, #f2f7fb 100%);
}

.bg-purple {
  background-color: #6f42c1;
}

.bg-brown {
  background: #654321;
}

.border-purple {
  border-color: #6f42c1;
}

.border-lightbrown {
  border-color: #8e5a2a;
}

.border-bottom-10px {
  border-bottom: 10px solid #d98c27;
}

.bg-lightbrown {
  background: #8e5a2a;
}

.bg-yellowbrown {
  background: #f4d35e;
}

.btn-purple {
  background-color: #6f42c1;
  color: white;
  border: none;
}

.btn-purple:hover {
  background-color: #6f42c1;
  color: white;
}

.btn-outline-purple {
  background-color: #6f42c1;
  color: white;
  border-color: white;
}

.btn-outline-purple:hover {
  background-color: white;
  color: black;
}

.btn-yellow {
  background-color: #f0a500;
  color: white;
}

/* Hover */
.btn-yellow:hover{
    background:#d18e00;
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,0.2);
}

.btn-white {
  background-color: white;
  color: black;
}

.btn-white:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,0.2);
  color: black;
}

.btn-outline-success {
  background-color: #198754;
  color: white;
  border-color: white;
}

.btn-outline-success:hover {
  background-color: white;
  color: black;
}

form label {
  font-weight: bold;
  color: #3e2b16;
}

header {
  background-color: #f4d35e;
  padding: 20px;
  text-align: center;
  border-bottom: 10px solid #d98c27;
}

header h1 {
  font-size: 3em;
  margin: 0;
  color: #4d2c1a;
  text-shadow: 2px 2px #fff8dc;
}

.navbar {
  background: #8e5a2a;
  padding: 10px;
}

.nav-link {
  color: #fff7e6;
  margin: 0 15px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2em;
}

.nav-link:hover {
  color: #ffd07b;
}

/* Footer Styles */

#footer ul {
    padding-left: 0;
    list-style: none;
}

#footer ul a {
    color: #999999;
    padding: 20px 0;
}

#footer .social {
    text-align: left;
}

#footer .social a {
    margin: 0 10px 0 0;
    color: #fff7e6;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    vertical-align: bottom;
    background-color: #555555;
}

/* ====== Gallery Layout ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 6px solid #a67c52;
  border-radius: 12px;
  background: #f4e1b1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

/* ====== Lightbox Modal ====== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex;
}

#lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 10px #000;
  transition: color 0.2s;
}

.close-lightbox:hover {
  color: #f8c471;
}

/* Navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 3rem;
  user-select: none;
  pointer-events: none;
}

.lightbox-nav span {
  pointer-events: all;
  cursor: pointer;
  padding: 0 25px;
  transition: color 0.2s;
}

.lightbox-nav span:hover {
  color: #f8c471;
}

.fb-page {
    /*border: 2px solid #7a5c3e; /* rock-style border */
    border-radius: 10px;
    /*background-color: #3e2f1c; /* dark stone background */
    padding: 5px;
}
.fb-page iframe {
    border-radius: 10px;
}

.btn-brown {
    background-color: #7a5c3e;
    color: #fff;
    border-radius: 8px;
}

.btn-brown:hover {
    background-color: #5c452e;
    color: #fff;
}

.pals-updates li a:hover {
    text-decoration: underline;
}

.modal-content.bg-brown {
    background-color: #4e3620; /* dark stone-brown */
    font-family: 'Comic Sans MS', cursive, sans-serif; /* playful, Flintstones feel */
}

@media (max-width: 576px) {
    .fb-page iframe {
        width: 100% !important;
    }
}

/* ===== Beardrock Dragons Contact Form Styles ===== */
.contact-container {
    background-color: #fdf6f0;
    border: 3px solid #a66b38;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
    max-width: 700px;
    margin: 0 auto;
}

.contact-container h2 {
    color: #6b4226;
    font-family: 'Fredoka One', cursive, Arial, sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

.contact-container p {
    text-align: center;
    color: #3a2a1a;
    font-size: 16px;
    margin-bottom: 25px;
}

.contact-container input,
.contact-container textarea {
    border: 2px solid #a66b38;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
}

.contact-container button {
    background-color: #a66b38;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-container button:hover {
    background-color: #8b5323;
}

.alert {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.alert-success {
    background-color: #d7f0e0;
    color: #2b6a4a;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

.contact-side-image {
    height: 350px;      /* taller images */
    width: auto;         /* maintain aspect ratio */
    display: block;
    margin: 0 auto;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

/* Medium screens: shrink side images */
@media (max-width: 992px) {
    .contact-side-image {
        height: 300px;
    }
}

/* Small screens: hide side images */
@media (max-width: 576px) {
    .contact-side-image {
        display: none;
    }
}

/* Beardrock Custom Button */
.btn-beardrock {
    background-color: #8B4513; /* brown - adjust if needed */
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-beardrock:hover {
    background-color: #A0522D; /* lighter brown hover */
    transform: translateY(-2px);
}

/* Gender Sections */
.section-male {
    background-color: #f8f3ef; /* very light warm tone */
    padding: 40px 20px;
    border-top: 4px solid #8B4513; /* Beardrock brown */
    border-radius: 12px;
    margin-bottom: 50px;
}

.section-female {
    background-color: #f3ede8; /* slightly different subtle tone */
    padding: 40px 20px;
    border-top: 4px solid #A0522D; /* lighter brown accent */
    border-radius: 12px;
    margin-bottom: 50px;
}

/* Section Headings */
.gender-heading {
    font-family: 'Rock Salt', cursive;
    margin-bottom: 30px;
}

