/* Custom styles for Trina's Diner */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric background shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 93, 42, 0.04);
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.05);
    bottom: 20%;
    left: -80px;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(232, 93, 42, 0.03);
    border-radius: 20px;
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(234, 179, 8, 0.04);
    top: 60%;
    left: 8%;
    transform: rotate(-10deg);
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(232, 93, 42, 0.03);
    bottom: 10%;
    right: 15%;
}

/* Hero geometric shapes */
.geo-hero {
    position: absolute;
    pointer-events: none;
}

.geo-circle-hero-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(254, 244, 235, 0.08);
    top: -150px;
    right: -150px;
}

.geo-circle-hero-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(254, 224, 74, 0.1);
    bottom: -80px;
    left: -80px;
}

.geo-rect-hero-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    top: 20%;
    left: 5%;
    transform: rotate(25deg);
}

.geo-triangle-hero-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(254, 224, 74, 0.08);
    bottom: 25%;
    right: 10%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* CTA geometric shapes */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(254, 224, 74, 0.15);
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -60px;
    right: 10%;
}

.cta-rect-1 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    top: 30%;
    right: 5%;
    transform: rotate(20deg);
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Navbar transitions */
#navbar.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

#navbar.scrolled .nav-link {
    color: #4a4036;
}

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

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

.mobile-menu-link {
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: #e85d2a;
}

/* Reveal animations */
.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(20px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for cards */
.group:hover .group-hover\:rotate-12 {
    transform: rotate(12deg);
}

.group:hover .group-hover\:-rotate-12 {
    transform: rotate(-12deg);
}

.group:hover .group-hover\:rotate-6 {
    transform: rotate(6deg);
}

.group:hover .group-hover\:-rotate-6 {
    transform: rotate(-6deg);
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e85d2a;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d9d2c7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #beb4a5;
}

/* Selection color */
::selection {
    background: rgba(232, 93, 42, 0.2);
    color: #4a4036;
}
