@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Lato', sans-serif;
}

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

body {
    overflow-x: hidden;
    background-color: #faf9f6; /* Off-white/beige */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f2; 
}
::-webkit-scrollbar-thumb {
    background: #84a98c; /* Soft green */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #52796f; 
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-modal {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(132, 169, 140, 0.2);
    box-shadow: 0 8px 32px 0 rgba(82, 121, 111, 0.1);
}

/* Navbar underline effect */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e07a5f; /* Saffron/earthy tone */
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Slider Adjustments */
.hero-slider .swiper-slide {
    height: 100vh;
}
.hero-overlay {
    background: linear-gradient(to right, rgba(20, 40, 29, 0.7) 0%, rgba(20, 40, 29, 0.3) 100%);
}

/* Hover Lift */
.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(82, 121, 111, 0.15), 0 10px 10px -5px rgba(82, 121, 111, 0.04);
}

/* Gallery Zoom */
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.7s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Floating Elements Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.floating-el {
    animation: float 8s ease-in-out infinite;
}

/* Pattern Backgrounds */
.bg-mandala {
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="%2384a98c" stroke-width="0.5" opacity="0.3"/></svg>');
    background-repeat: repeat;
}

/* Floating Actions */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}
.fab:hover {
    transform: scale(1.1) rotate(5deg);
}
.fab-whatsapp { background-color: #25D366; }
.fab-email { background-color: #e07a5f; }
.fab-call { background-color: #52796f; }

/* Modals */
.modal-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

/* Form Inputs */
.modern-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cad2c5;
    border-radius: 8px;
    background: #f8faf9;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Lato', sans-serif;
}
.modern-input:focus {
    border-color: #84a98c;
    background: white;
    box-shadow: 0 0 0 3px rgba(132, 169, 140, 0.2);
}

/* Soft Divider */
.section-divider {
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C320,100 420,0 740,50 C1060,100 1120,0 1440,50 L1440,100 L0,100 Z" fill="%23faf9f6" opacity="1"/></svg>');
    background-size: cover;
    background-position: center;
    margin-top: -99px;
    position: relative;
    z-index: 10;
}
