@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Gradients & Shadows */
.burgundy-gradient {
    background: linear-gradient(135deg, #370007 0%, #800020 50%, #5c0612 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #9a7d57 0%, #d4af37 50%, #dfcbb3 100%);
}

.text-glow-gold {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

.border-gold-glow {
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: #c5a880;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5c0612;
}

/* Fade-in animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive Navigation Logo */
.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
    align-self: center;
    height: 72px;
}

@media (min-width: 1024px) {
    .nav-logo-link {
        height: 96px;
        gap: 8px;
    }
}

.nav-logo-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 1024px) {
    .nav-logo-wrapper {
        width: 72px;
        height: 72px;
    }
}

.nav-logo-img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    transition: transform 0.25s;
}

@media (min-width: 1024px) {
    .nav-logo-img {
        height: 72px;
        width: 72px;
    }
}

.nav-logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: -4px;
}

.nav-logo-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: #5c0612;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .nav-logo-title {
        font-size: 1.75rem;
    }
}

.nav-logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.55rem;
    color: #9a7d57;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 2px;
    line-height: 1;
}

@media (min-width: 1024px) {
    .nav-logo-subtitle {
        font-size: 0.72rem;
        letter-spacing: 0.24em;
        margin-top: 4px;
    }
}

/* Responsive Section Spacing */
.home-section-padding {
    padding: 60px 0;
}

.home-section-padding-x {
    padding: 60px 24px;
}

@media (max-width: 768px) {

    .home-section-padding,
    .home-section-padding-x {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Memories Section styling */
.memories-homepage-section {
    background: #f5f2e9;
    border-top: 2px solid #d4af37;
}

/* Polaroid Card Layouts */
.polaroid-card {
    background: #ffffff;
    padding: 16px;
    padding-bottom: 24px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.polaroid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px -5px rgba(92, 6, 18, 0.15);
}

/* Body Paragraph Standard Copy */
.body-paragraph {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #4a5568;
    line-height: 1.625;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .body-paragraph {
        font-size: 0.9375rem;
        line-height: 1.75;
    }
}

.body-paragraph-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #4a5568;
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .body-paragraph-intro {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

/* Button responsive layouts */
.btn-philosophy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5c0612, #800020);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(92, 6, 18, 0.18);
    transition: all 0.3s;
    font-size: 0.7rem;
    padding: 12px 24px;
}

.btn-philosophy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(92, 6, 18, 0.32);
}

@media (min-width: 768px) {
    .btn-philosophy {
        font-size: 0.75rem;
        padding: 16px 36px;
        letter-spacing: 0.18em;
    }
}

/* Inner Banner Hero */
.inner-banner-hero {
    background-image: linear-gradient(rgba(55, 0, 7, 0.58), rgba(55, 0, 7, 0.78)), url('/images/inner_banner.png');
    background-size: cover;
    background-position: center 38%;
    min-height: 160px;
}

/* Header & Footer Custom Elements (Removing Inline CSS) */
.nav-contribute-btn {
    background: linear-gradient(135deg, #370007, #800020);
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    letter-spacing: 0.12em;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.nav-contribute-btn:hover {
    opacity: 0.88;
}

.site-footer {
    background: #1d0205;
    color: #fff;
    border-top: 3px solid #d4af37;
    padding: 40px 24px;
}

.site-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer-link:hover {
    color: #d4af37;
}

.site-footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    text-align: center;
    margin-top: 8px;
}

/* Image Object Positions */
.object-position-center-38 {
    object-position: center 38%;
}

.object-position-top-center {
    object-position: top center;
}

.object-position-center-30 {
    object-position: center 30%;
}

.object-position-swami-2 {
    object-position: center 18% !important;
}

/* Homepage Hero Slideshow dots & text highlights */
.st-dots-container {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.st-dot {
    width: 8px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
}

.st-dot-active {
    width: 24px;
    background: #d4af37;
}

.text-highlight-gold {
    color: #d4af37;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.2));
}

.text-highlight-gold-italic {
    color: #d4af37;
    font-style: normal;
    font-weight: 600;
}

/* Mobile Hero Banner Refinements */
@media (max-width: 767px) {
    .hero-fullscreen-container {
        height: 48vh !important;
        min-height: 320px !important;
        padding: 0 !important;
    }

    .hero-content-left {
        margin-left: 6% !important;
        padding: 0 !important;
        max-width: 88% !important;
    }

    .hero-title-accent {
        padding-left: 10px !important;
        margin-bottom: 12px !important;
    }

    #hero-title {
        font-size: 1.75rem !important;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 8px 16px !important;
        font-size: 0.65rem !important;
    }
}