/* Bunyonyi Luxury Resort - Custom CSS */

:root {
    --accent-color: #10b981;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a7f4c;
}

/* Parallax background */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

/* Slide-in animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-in-out;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover lift effect */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Image hover zoom */
.img-zoom:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Form input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Button hover animation */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 28px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive embeds */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: '';
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive > iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Utility classes */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Print styles */
@media print {
    /* Hide non-essential elements */
    .artistic-nav, footer, nav, .no-print {
        display: none !important;
    }

    /* Hide the right column (actions & support) */
    .lg\:col-span-5 {
        display: none !important;
    }

    /* Make the left column (booking details) full width */
    .lg\:col-span-7 {
        width: 100% !important;
        grid-column: span 12 !important;
    }

    /* Reset background and padding */
    body, .min-h-screen {
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide URLs in print */
    a[href]:after {
        content: none !important;
    }

    /* Ensure text is black */
    body {
        color: black !important;
    }

    /* Hide return to home */
    .text-center a {
        display: none !important;
    }
    
    /* Hide the watercolor blobs */
    .watercolor-blob {
        display: none !important;
    }
    
    /* Adjust container width */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Ensure the card looks like a document */
    .bg-white {
        box-shadow: none !important;
        border: none !important;
    }
}

@page {
    margin: 1cm;
    size: auto;
}

/* =========================================
   ARTISTIC THEME UTILITIES (Traveler's Sketchbook)
   ========================================= */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

.font-hand {
    font-family: 'Caveat', cursive;
}

.font-serif-artistic {
    font-family: 'Cormorant Garamond', serif;
}

/* Paper Effects */
.paper-texture {
    position: relative;
    background-color: #fdfbf7;
}

.paper-texture::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/cream-paper.png");
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

/* Polaroid Card */
.polaroid {
    background: #fff;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid:hover {
    transform: scale(1.02) rotate(0deg) !important;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Hand-Drawn Border Animation */
.border-sketch {
    position: relative;
    border: 2px solid transparent;
}

/* Torn Paper Edge Effect */
.shape-tear-bottom {
    position: relative;
    padding-bottom: 1.75rem;
}

.shape-tear-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #f0fdf4; /* Matches the section below it */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47,0,47,22.5,94,22.5s47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5c0,0,0,51.21,0,51.21H0V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47,0,47,22.5,94,22.5s47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94,22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5,47,22.5,94,22.5,47-22.5,94-22.5c0,0,0,51.21,0,51.21H0V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
    -webkit-mask-size: 45px 100%;
    mask-size: 45px 100%;
    z-index: 20;
}

/* Watercolor Blobs */
.watercolor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Floating Hearts Animation */
@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-100px) rotate(20deg); opacity: 0; }
}

.animate-float-slow {
    animation: floatUp 8s infinite ease-in-out;
}

.animate-float-medium {
    animation: floatUp 6s infinite ease-in-out 1s;
}

.animate-float-fast {
    animation: floatUp 4s infinite ease-in-out 2s;
}

