/* Google Fonts */
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');*/
@import url('https://fonts.googleapis.com/css?family=Noto Serif:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* General */
body {
  font-family: 'Noto Serif', sans-serif;
  background-color: #fdfdfd;
  color: #444;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

/* 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-cream {
  color: #ffa756
  ;
}

.text-red {
  color: #ffb38a;
}

.text-lilac {
  color: #82D1F1;
}

.text-seal {
  color: black;
}

.text-chocolate {
  color: #B5651D;
}

.text-pink {
  color: #FF69B4;
}

.bg-pink {
  background-color: #FF69B4;
}

.border-pink {
  border-color: #FF69B4;
}

.btn-pink {
  background-color: #FF69B4;
  color: white;
  border: none;
}

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

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

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

.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-outline-success {
  background-color: #198754;
  color: white;
  border-color: white;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background: url('../images/phantommainphoto.webp') center/cover no-repeat;
  height: 85vh;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 60, 114, 0.5);
  backdrop-filter: blur(2px);
}
.hero-content {
  z-index: 2;
}
.hero-section h1 span {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

/* About Section */
.about-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Carousel */
.carousel-inner img {
  height: 500px;
  object-fit: cover;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, #2e74b5, #3f87ca);
}

/* Navbar styling tweak */
.navbar {
  background-color: #ffffff !important;
  /*border-bottom: 2px solid #d4af37;*/
  border-bottom: 2px solid #0d6efd;
}
.navbar-brand {
  font-size: 1.5rem;
  color: #2e74b5 !important;
}
.nav-link {
  color: #444 !important;
  font-weight: 500;
}
.nav-link:hover {
  color: #2e74b5 !important;
}

.footer {
  text-align: center;
  background: #d2b48c;
  padding: 15px;
  border-top: 8px solid #a97444;
  position: fixed;
  width: 100%;
  bottom: 0;
}

#footer {
  background: #e0e0e0;
  padding: 10px 0;
}

#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: #fff;
  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;
}

form {
  background: #fff;
  border-radius: 0.5rem;
}
.spinner-border {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: text-bottom;
  margin-left: 0.5rem;
  display: none;
}

.carousel { overflow: hidden; padding-bottom: 4rem; }
.carousel-caption { top: 100%; }
.carousel-inner { overflow: visible; }
.carousel-control-next, .carousel-control-prev, .carousel-indicators { bottom: 4rem; }

.gallery-masonry {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .gallery-item { width: 33.333%; }
}

@media (max-width: 768px) {
    .gallery-item { width: 50%; }
}

@media (max-width: 480px) {
    .gallery-item { width: 100%; }
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Fade-in effect for newly loaded items */
.gallery-item.new-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Ensure existing items remain fully visible */
.gallery-item {
    opacity: 1;
}

/* Scroll Buttons Base */
.scroll-btn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #007bff; /* solid high-contrast color */
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    z-index: 9999;
}

.scroll-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}


/* Hover Effect */
.scroll-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    background: rgba(255, 255, 255, 0.25);
}

/* Idle class for fade-out */
.scroll-btn.idle {
    opacity: 0;
    pointer-events: none;
}

/* Positioning */
.scroll-top { bottom: 100px; right: 32px; }
.scroll-bottom { bottom: 40px; right: 32px; }

/* SVG Icon */


/* Mobile Adjustments */
@media (max-width: 576px) {
    .scroll-btn {
        width: 44px;
        height: 44px;
    }
    .scroll-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Keyframes for subtle bounce/floating */
@keyframes floatArrow {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* Apply to SVG inside scroll buttons */
.scroll-btn svg {
    animation: floatArrow 1.5s ease-in-out infinite;
}

.load-more-btn {
    font-size: 1.15rem;
    font-weight: 500;
    padding: 14px 36px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.18); /* neutral glassy look */
    color: #111; /* dark text for contrast */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.4s ease;
}

/* Arrow floating animation */
.load-more-btn .btn-arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.3rem;
    animation: floatArrow 1.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

/* Hover effects */
.load-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    background: rgba(255, 255, 255, 0.28);
}

.load-more-btn:hover .btn-arrow {
    transform: translateY(4px);
}

/* Floating keyframes */
@keyframes floatArrow {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .load-more-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    .load-more-btn .btn-arrow {
        font-size: 1.1rem;
    }
}

.back-kings-btn {
    border-width: 2px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.back-kings-btn:hover {
    background-color: #198754;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(25,135,84,0.25);
}

.back-queens-btn {
    border-width: 2px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.back-queens-btn:hover {
    background-color: #7b3fe4; /* your purple */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(123,63,228,0.3);
}
