/* Custom styles for Jennifer Dawn Slider website */

/* Geometric decorative elements */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background-color: #a11638;
    color: #fefdfb;
}

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

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(254, 253, 251, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(111, 22, 56, 0.08);
}

.nav-scrolled .nav-link {
    color: #3e0816 !important;
}

.nav-scrolled .menu-line {
    background-color: #6f162e !important;
}

/* Print styles */
@media print {
    nav, #mobile-menu, #menu-overlay, .geo-circle, .geo-rect, .geo-triangle {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.75rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

/* Small phone adjustments */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
