@tailwind base;
@tailwind components;
@tailwind utilities;

/* Antialiasing & Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #faf7f2;
    color: #1b3b2b;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Glassmorphism & Custom Effects */
.glass-panel {
    background: rgba(19, 43, 31, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 226, 216, 0.9);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf7f2;
}
::-webkit-scrollbar-thumb {
    background: #74937c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1b3b2b;
}

/* Mobile Responsiveness & Touch Target Enhancements */
@media (max-width: 640px) {
    .container, .max-w-7xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }

    .hero-slide-item {
        padding: 1rem !important;
    }

    /* Prevent text cutoffs */
    .truncate-2-lines {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
