/* ============================================
   Touch of Europe — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   GEOMETRIC SHAPES (Hero & Sections)
   ============================================ */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f5e09a 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f3bda8 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fef9ec 0%, transparent 70%);
    top: -150px;
    left: -100px;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.08;
}

.geo-triangle-1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #f5e09a;
    top: 15%;
    right: 5%;
    transform: rotate(15deg);
    animation: float-slow 22s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    opacity: 0.08;
    background: #f3bda8;
    border-radius: 16px;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 8%;
    transform: rotate(30deg);
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fef9ec;
    border-radius: 12px;
    opacity: 0.1;
    transform: rotate(45deg);
}

.geo-diamond-1 {
    bottom: 15%;
    right: 10%;
    animation: float-slow 14s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 20%;
    left: 5%;
}

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

.geo-triangle-1 { --rotate: 15deg; }
.geo-square-1 { --rotate: 30deg; }

/* ============================================
   FLOATING STAT CARDS (Hero)
   ============================================ */
.float-card {
    animation: float-card 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-display {
    color: #b83518 !important;
}

#navbar.scrolled a:not([class*="bg-terra"]) {
    color: #374151 !important;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

#mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
a:hover {
    transition: all 0.2s ease;
}

/* ============================================
   IMAGE HOVER
   ============================================ */
img {
    transition: transform 0.5s ease;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: #e06340;
    color: white;
}

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

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

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

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