/* Custom styles for The Pearle of Plants & Coffee Garden */

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

/* Base styles */
body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric background shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 40%;
    right: 5%;
    animation: float 12s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(94, 234, 212, 0.05);
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
    animation: spin 25s linear infinite;
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: rgba(94, 234, 212, 0.06);
    top: 60%;
    right: 15%;
    transform: rotate(45deg);
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(6, 18, 36, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Button hover effects */
a {
    text-decoration: none;
}

/* Selection color */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(94, 234, 212, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(94, 234, 212, 0.5);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape {
        animation: none;
    }

    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    img {
        transition: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }

    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }

    .shape-triangle {
        display: none;
    }

    .shape-diamond {
        display: none;
    }
}
