/* Custom Styles for Double R Brand Foods */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0a1929;
    color: #ffffff;
    overflow-x: hidden;
}

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    top: 10%;
    left: -10%;
    animation: float 20s ease-in-out infinite;
}

.shape-square-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    top: 60%;
    right: -5%;
    transform: rotate(45deg);
    animation: float 25s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 300px solid transparent;
    border-right: 300px solid transparent;
    border-bottom: 520px solid #4ade80;
    top: 40%;
    left: 5%;
    animation: rotate 30s linear infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #86efac, #4ade80);
    border-radius: 50%;
    bottom: 10%;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

.shape-square-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    top: 20%;
    right: 10%;
    transform: rotate(30deg);
    animation: float 22s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
}

/* Buttons */
button, a[role="button"] {
    cursor: pointer;
}

/* Form Styles */
input, textarea, select {
    font-family: 'Outfit', sans-serif;
}

input:focus, textarea:focus, select:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #0a1929;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ade80, #22c55e);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #86efac, #4ade80);
}

/* Selection */
::selection {
    background: #4ade80;
    color: #0a1929;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
