/* Pak Greenery - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --forest-green: #2D5A27;
    --soft-cream: #F9F7F2;
    --charcoal: #333333;
    --accent-gold: #C5A059;
    /* Adding a subtle gold for a premium touch */
}

/* Custom Utilities on top of Tailwind */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--soft-cream);
    color: var(--charcoal);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    color: var(--charcoal);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--forest-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--forest-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section Utilities */
.hero-fallback {
    background-color: #1a2e18;
    /* Dark green fallback */
}

.hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Gift Cards */
.gift-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease-in-out;
    transform: translateY(0);
    border: 1px solid transparent;
    opacity: 0;
    /* For scroll reveal */
}

.gift-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.5rem);
    border-color: rgba(45, 90, 39, 0.1);
}

.gift-card.revealed {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--forest-green);
    color: var(--soft-cream);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    border: none;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: scale(1.1);
    background-color: rgba(45, 90, 39, 0.9);
}

/* Mobile Menu Transition */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}

.mobile-menu-active {
    display: block !important;
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--forest-green);
    color: var(--soft-cream);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: rgba(45, 90, 39, 0.9);
}

.btn-disabled {
    background-color: #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: not-allowed;
    display: inline-block;
}

/* Footer Section Utilities */
.whatsapp-float {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
}