/* ============================================
   SEDONA UNWIND — Custom Styles
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(10, 26, 41, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #0a1a29;
}

#navbar.scrolled .nav-link {
    color: #1e4160;
}

#navbar.scrolled .menu-bar {
    background: #0a1a29;
}

/* --- Mobile Menu --- */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2cb87e;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 60%;
}

/* --- Geometric Shapes (Background Decorations) --- */
.geo-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #2cb87e;
    top: 10%;
    right: -100px;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #0a1a29;
    bottom: 20%;
    left: -50px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #2cb87e;
    top: 40%;
    left: 5%;
    opacity: 0.04;
}

.geo-square {
    width: 150px;
    height: 150px;
    background: #0a1a29;
    bottom: 15%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.04;
}

.geo-ring {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 40px solid #2cb87e;
    top: 60%;
    right: 5%;
    opacity: 0.03;
}

/* --- Hero Geometric Shapes --- */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.hero-geo-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(142, 227, 188, 0.15);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero-geo-2 {
    width: 150px;
    height: 150px;
    background: rgba(44, 184, 126, 0.1);
    top: 20%;
    right: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 10s ease-in-out infinite;
}

.hero-geo-3 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(142, 227, 188, 0.08);
    bottom: 20%;
    left: 8%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-geo-4 {
    width: 100px;
    height: 100px;
    background: rgba(44, 184, 126, 0.08);
    bottom: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.hero-geo-5 {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(142, 227, 188, 0.2);
    border-radius: 50%;
    top: 50%;
    right: 20%;
    animation: float 5s ease-in-out infinite;
}

/* --- About Section Geometric Shapes --- */
.about-geo {
    position: absolute;
    pointer-events: none;
}

.about-geo-1 {
    width: 300px;
    height: 300px;
    background: #c3f0db;
    border-radius: 50%;
    top: -100px;
    right: -80px;
    opacity: 0.5;
}

.about-geo-2 {
    width: 150px;
    height: 150px;
    background: #0a1a29;
    bottom: 50px;
    left: -40px;
    border-radius: 50%;
    opacity: 0.05;
}

/* --- Why Section Geometric Shapes --- */
.why-geo {
    position: absolute;
    pointer-events: none;
}

.why-geo-1 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(142, 227, 188, 0.08);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.why-geo-2 {
    width: 200px;
    height: 200px;
    background: rgba(44, 184, 126, 0.06);
    bottom: 10%;
    right: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 12s ease-in-out infinite;
}

.why-geo-3 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(142, 227, 188, 0.05);
    top: 30%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

/* --- Visit Section Geometric Shapes --- */
.visit-geo {
    position: absolute;
    pointer-events: none;
}

.visit-geo-1 {
    width: 250px;
    height: 250px;
    background: #e1f8ed;
    border-radius: 50%;
    top: -80px;
    left: -60px;
    opacity: 0.6;
}

.visit-geo-2 {
    width: 120px;
    height: 120px;
    background: #0a1a29;
    bottom: 10%;
    right: 3%;
    border-radius: 50%;
    opacity: 0.03;
}

/* --- CTA Section Geometric Shapes --- */
.cta-geo {
    position: absolute;
    pointer-events: none;
}

.cta-geo-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -150px;
}

.cta-geo-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -50px;
    left: 5%;
    border-radius: 50%;
}

.cta-geo-3 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(255, 255, 255, 0.06);
    top: 20%;
    left: 10%;
    animation: float 9s ease-in-out infinite reverse;
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(30px);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-geo,
    .geo-shape,
    .about-geo,
    .why-geo,
    .visit-geo,
    .cta-geo {
        animation: none;
    }
}

/* --- Button Focus Styles --- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #2cb87e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection Color --- */
::selection {
    background: #2cb87e;
    color: white;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7493b0;
}
