/* --- Gallery Refinements --- */
#gallery .grid {
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-elegant);
}

.gallery-card img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* --- Smooth Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gold-text {
  /* Define the specific gold gradient colors */
  background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 78%);
  
  /* Clip the background to the text's shape */
  -webkit-background-clip: text; /* For cross-browser compatibility */
  background-clip: text;

  /* Make the actual text transparent */
  -webkit-text-fill-color: transparent; /* For cross-browser compatibility */
  color: transparent; /* Standard property, but webkit is widely used for this effect */
  
  /* Add other styles for better presentation */
  font-size: 72px;
  font-weight: bolder;
  /* Ensure a dark background for contrast */
  /* filter: drop-shadow(2px 2px #333); can be added for extra depth */
}

.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

/* Button Pulse Effect */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.1);
    transition: 0.5s;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    z-index: -1;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-card img {
        height: 200px;
    }
}