/* Barchan Tours – Custom styles (works with Tailwind CDN) */

/* Navigation links */
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4A4E45;
    transition: color 0.2s;
    position: relative;
}
.nav-link:hover {
    color: #465B3B;
}
.nav-link.active {
    color: #465B3B;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #D9A441;
    border-radius: 9999px;
}

.mobile-link {
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    color: #4A4E45;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.mobile-link:hover {
    background: rgba(70, 91, 59, 0.1);
    color: #465B3B;
}
.mobile-link.active {
    background: rgba(70, 91, 59, 0.1);
    color: #465B3B;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #465B3B;
    color: #F5F0E6;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-primary:hover {
    background: #35452C;
}
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 2px #F5F0E6, 0 0 0 4px #D9A441;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #D9A441;
    color: #465B3B;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-gold:hover {
    background: #C08E2E;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: 2px solid #465B3B;
    color: #465B3B;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: #465B3B;
    color: #F5F0E6;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(70, 91, 59, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Section headings */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #465B3B;
}

.section-subtitle {
    color: #4A4E45;
    margin-top: 0.5rem;
    max-width: 42rem;
}

/* Hero pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(217, 164, 65, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(25, 124, 128, 0.06) 0%, transparent 40%);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(70, 91, 59, 0.2);
    background: #fff;
    color: #292C27;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.form-input::placeholder {
    color: rgba(74, 78, 69, 0.6);
}
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #D9A441;
    border-color: transparent;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #292C27;
    margin-bottom: 0.375rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-gold {
    background: rgba(217, 164, 65, 0.2);
    color: #C08E2E;
}
.badge-teal {
    background: rgba(25, 124, 128, 0.15);
    color: #146366;
}

/* Image placeholders (fallback when no photo) */
.img-placeholder {
    background: linear-gradient(135deg, rgba(70,91,59,0.2), rgba(25,124,128,0.1), rgba(217,164,65,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card images */
.card img {
    display: block;
}

/* Fade in animation */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}
