/* ========================================
   Miss Daisy's — Custom Styles
   ======================================== */

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

body {
    overflow-x: hidden;
}

/* --- Geometric Decorative Shapes --- */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -50px;
    right: -80px;
}

.circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 10%;
    left: -40px;
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 40%;
    right: 15%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 255, 255, 0.2);
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.15);
    bottom: 15%;
    right: 8%;
    transform: rotate(20deg);
}

.square-1 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
}

/* --- Floating Background Shapes --- */
.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 20px;
}

.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-med {
    animation: floatMed 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatMed {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

/* --- Hero Geometric Shapes --- */
#hero .geo-shape {
    animation: geoFloat 10s ease-in-out infinite;
}

#hero .circle-1 {
    animation-delay: 0s;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    top: 10%;
    right: -60px;
}

#hero .circle-2 {
    animation-delay: -3s;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    bottom: 15%;
    left: 5%;
}

#hero .circle-3 {
    animation-delay: -5s;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    top: 30%;
    left: 15%;
}

#hero .triangle-1 {
    animation-delay: -2s;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    top: 25%;
    left: 3%;
}

#hero .triangle-2 {
    animation-delay: -7s;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    bottom: 20%;
    right: 5%;
}

#hero .square-1 {
    animation-delay: -4s;
    background: rgba(255, 255, 255, 0.08);
    top: 70%;
    right: 15%;
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-25px) rotate(var(--rotate, 0deg)); }
}

#hero .triangle-1 { --rotate: -15deg; }
#hero .triangle-2 { --rotate: 20deg; }
#hero .square-1 { --rotate: 45deg; }

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

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

/* --- Navbar --- */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

#navbar.scrolled .nav-link:hover {
    color: #0d9488;
}

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

/* --- Mobile Menu --- */
.mobile-link {
    transition: color 0.2s ease;
}

/* --- Button Hover Effects --- */
a {
    transition: all 0.2s ease;
}

/* --- Card Hover --- */
.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-3xl:hover {
    transform: translateY(-4px);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    #hero .geo-shape {
        display: none;
    }
    
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
