/* Additional custom styles for Infinity Tan & Wellness Studio */

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

/* Geometric animated shapes */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle, .geo-diamond {
        animation: float 6s ease-in-out infinite;
    }
    
    .geo-circle:nth-child(2) {
        animation-delay: -2s;
        animation-duration: 8s;
    }
    
    .geo-diamond:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 7s;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(45deg); }
        50% { transform: translateY(-20px) rotate(45deg); }
    }
    
    .geo-circle {
        animation-name: floatCircle;
    }
    
    @keyframes floatCircle {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }
}

/* Custom focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure text contrast on all backgrounds */
.bg-plum-950 .text-white,
.bg-plum-800 .text-white,
.bg-plum-700 .text-white {
    color: #fdf2f8;
}

/* Hero gradient text fallback for browsers that don't support background-clip */
.no-background-clip .gradient-text {
    color: #D4A017;
}

/* Print styles */
@media print {
    nav, .geo-circle, .geo-diamond, .btn-shine::after {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-plum-950, .bg-plum-800, .bg-plum-700 {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .geo-circle.w-96 {
        width: 48px;
        height: 48px;
    }
    
    .geo-circle.w-64 {
        width: 32px;
        height: 32px;
    }
    
    .geo-diamond.w-24 {
        width: 16px;
        height: 16px;
    }
    
    .geo-diamond.w-16 {
        width: 12px;
        height: 12px;
    }
}
