/* ============================================
   Daub's Garden Gifts & Nursery — Custom Styles
   ============================================ */

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

/* --- Fixed Navigation --- */
.nav-fixed {
    background: rgba(253, 240, 247, 0.92);
    backdrop-blur: 16px;
    -webkit-backdrop-blur: 16px;
    border-bottom: 1px solid rgba(107, 45, 91, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 30px rgba(107, 45, 91, 0.12);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8A838;
    transition: width 0.3s ease;
}

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

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

#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* --- Hero --- */
.hero-geo {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-geo-1 {
    width: 400px;
    height: 400px;
    background: #E8A838;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-geo-2 {
    width: 250px;
    height: 250px;
    background: #f9c2e1;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-geo-3 {
    width: 150px;
    height: 150px;
    background: #ffd132;
    top: 30%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.hero-geo-4 {
    width: 100px;
    height: 100px;
    background: white;
    bottom: 25%;
    right: 30%;
    animation: float 5s ease-in-out infinite reverse;
}

.hero-geo-5 {
    width: 60px;
    height: 60px;
    background: #E8A838;
    top: 20%;
    left: 20%;
    animation: float 9s ease-in-out infinite;
}

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

.btn-hero-primary {
    box-shadow: 0 10px 40px rgba(232, 168, 56, 0.3);
}

.btn-hero-primary:hover {
    box-shadow: 0 15px 50px rgba(232, 168, 56, 0.4);
}

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

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: #E8A838;
    border-radius: 50%;
    top: 20%;
    right: -50px;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #f9c2e1;
    border-radius: 50%;
    bottom: 30%;
    left: -30px;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    background: #E8A838;
    border-radius: 50%;
    top: 60%;
    right: 10%;
}

.shape-diamond {
    width: 100px;
    height: 100px;
    background: #f495c8;
    top: 40%;
    left: 8%;
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #E8A838;
    top: 75%;
    right: 5%;
    opacity: 0.03;
}

/* --- Service Cards --- */
.card-plum {
    perspective: 1000px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #c0226a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9e1755;
}

/* --- Selection --- */
::selection {
    background: #E8A838;
    color: #2d1226;
}

/* --- Focus --- */
:focus-visible {
    outline: 3px solid #E8A838;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Responsive adjustments --- */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}
