/* Custom CSS for World Wide Vacations - Luxury Design */

/* Import premium fonts if not already in head */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Custom Utilities */
.tracking-widest-extra {
    letter-spacing: 0.3em;
}

/* Luxury Deal Cards */
.deal-card-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.deal-card-hover:hover {
    transform: translateY(-8px);
}

/* Custom Scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Button Refinements */
button, .btn {
    transition: all 0.3s ease;
}

/* Image Overlays */
.overlay-gradient {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
}

/* HTML Content Styling - for database content */
.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: #4b5563;
}

.prose ul, .prose ol {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose ul li, .prose ol li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    color: #4b5563;
}

.prose ul li {
    list-style-type: disc;
}

.prose ol li {
    list-style-type: decimal;
}

.prose a {
    color: #d4af37;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #0f172a;
}

.prose strong {
    font-weight: 600;
    color: #0f172a;
}

.prose em {
    font-style: italic;
}

.prose blockquote {
    border-left: 4px solid #d4af37;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

.prose img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

.prose table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.prose table th,
.prose table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.prose table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #0f172a;
}

/* Homepage Hero H1 */
.homepage-hero-title {
    font-size: 3rem;
}
