/* === Custom Styles for Pour Decisions === */

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

/* Selection color */
::selection {
    background-color: #C4572A;
    color: #FDF8F0;
}

/* === Geometric Hero Shapes === */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid white;
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    bottom: 15%;
    right: 8%;
    animation: float-medium 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    border-radius: 50%;
    top: 30%;
    right: 15%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-1 {
    width: 100px;
    height: 100px;
    background: white;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation: float-medium 12s ease-in-out infinite;
}

.geo-rect-2 {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    bottom: 25%;
    left: 15%;
    transform: rotate(20deg);
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid white;
    top: 60%;
    right: 5%;
    opacity: 0.1;
    animation: float-medium 14s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 30px 30px;
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 5%;
    opacity: 0.3;
    animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

/* === Hero Animations === */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

#hero h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#hero p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

#hero a {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* === Scroll Reveal Animations === */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* === Navbar === */
.navbar-scrolled {
    background-color: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(44, 24, 16, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #2C1810;
}

.navbar-scrolled .nav-link {
    color: #2C1810;
}

.navbar-scrolled .nav-link:hover {
    color: #C4572A;
}

.nav-link {
    color: rgba(44, 24, 16, 0.7);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #C4572A;
}

/* === Menu Tabs === */
.menu-tab {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.menu-tab.active {
    color: #2C1810;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.menu-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.menu-content {
    animation: menuFadeIn 0.4s ease-out;
}

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

/* === Mobile Menu === */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 149, 106, 0.15);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* === Back to top === */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:not(.visible) {
    transform: translateY(20px);
}

#back-to-top.visible {
    transform: translateY(0);
}

/* === Image hover effects === */
.rounded-3xl.overflow-hidden {
    transition: transform 0.4s ease;
}

.rounded-3xl.overflow-hidden:hover {
    transform: scale(1.02);
}

.rounded-3xl.overflow-hidden img {
    transition: transform 0.6s ease;
}

.rounded-3xl.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* === Form focus states === */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(196, 87, 42, 0.15);
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .geo-circle-3 {
        width: 80px;
        height: 80px;
    }
    
    .geo-rect-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-rect-2 {
        width: 40px;
        height: 40px;
    }
    
    .geo-triangle-1 {
        border-left-width: 30px;
        border-right-width: 30px;
        border-bottom-width: 52px;
    }
    
    .geo-dots {
        width: 80px;
        height: 80px;
    }
}
