/* ============================================
   PRESTIGE TRUCKING — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #FAF7F2;
    color: #1a1410;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: #e04f25;
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
    background: #e04f25;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #cc3a18;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 20, 16, 0.08);
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Menu Button Animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
/* Scroll indicator animation */
.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, #1a1410);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -40%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   GEOMETRIC SHAPES
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 79, 37, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(244, 216, 154, 0.3);
    top: 30%;
    left: -60px;
    transform: rotate(45deg);
    border-radius: 24px;
}

.geo-circle-2 {
    width: 120px;
    height: 120px;
    background: rgba(224, 79, 37, 0.1);
    bottom: 15%;
    right: 5%;
    border-radius: 50%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(252, 228, 217, 0.5);
    top: 25%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(224, 79, 37, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    bottom: 20%;
    right: 15%;
}

/* Why Us section shapes */
.geo-diamond-1 {
    width: 300px;
    height: 300px;
    background: rgba(224, 79, 37, 0.08);
    bottom: -100px;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 24px;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: rgba(244, 216, 154, 0.1);
    top: 10%;
    right: 10%;
    border-radius: 50%;
}

.geo-line-pattern {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.01) 40px,
        rgba(255, 255, 255, 0.01) 80px
    );
}

/* CTA section shapes */
.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.geo-rect-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -50px;
    left: 10%;
    transform: rotate(30deg);
    border-radius: 20px;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   FORM STYLES
   ============================================ */
select option {
    background: #FAF7F2;
    color: #1a1410;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-dots {
        display: none;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }
}
