/* Custom styles for Island Treats — geometric, vibrant, forest-green + cream palette */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #a8c0a8;
    color: #0f200f;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #2d5a2d;
    outline-offset: 2px;
}

/* Button ripple effect */
.cta-btn {
    position: relative;
    overflow: hidden;
}

/* Geometric accent shapes */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

/* Noise texture overlay for hero */
.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Subtle gradient border on cards */
.service-card {
    position: relative;
    background: white;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(45,90,45,0.1), rgba(168,192,168,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Mobile menu button animation */
.menu-bar {
    display: block;
}

#menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Print styles */
@media print {
    header, .geo-shape, .hero-logo-mark { display: none; }
    body { color: #000; background: #fff; }
    section { padding: 20px 0; }
}
