/* ===================================
   AURELION LUXURY WATCHES - CUSTOM STYLES
   Modern, Elegant, Cinematic Design
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-shimmer {
    animation: shimmer 3s linear infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(-15px) translateX(-20px);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

/* Gradient Background Animation */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Slow Spin Animations */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-slow-reverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 30s linear infinite;
}

.animate-spin-slow-reverse {
    animation: spin-slow-reverse 25s linear infinite;
}

/* Radial Gradient */
.bg-gradient-radial {
    background: radial-gradient(circle at center, var(--tw-gradient-stops));
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    animation: particle-float 15s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Mobile Optimizations for Particles */
@media (max-width: 639px) {
    .particle {
        width: 3px;
        height: 3px;
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    }
    
    /* Hide some particles on mobile for better performance */
    .particle:nth-child(6),
    .particle:nth-child(7),
    .particle:nth-child(8) {
        display: none;
    }
}

/* Tablet Optimizations */
@media (min-width: 640px) and (max-width: 1023px) {
    .particle {
        width: 3.5px;
        height: 3.5px;
    }
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 16s;
}

/* Mobile-specific particle positions */
@media (max-width: 639px) {
    .particle:nth-child(1) {
        top: 15%;
        left: 5%;
    }
    
    .particle:nth-child(2) {
        top: 70%;
        left: 85%;
    }
    
    .particle:nth-child(3) {
        top: 35%;
        right: 10%;
        left: auto;
    }
    
    .particle:nth-child(4) {
        top: 85%;
        left: 50%;
    }
    
    .particle:nth-child(5) {
        top: 25%;
        left: 75%;
    }
}

.particle:nth-child(6) {
    top: 70%;
    left: 20%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    top: 50%;
    left: 50%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    top: 15%;
    left: 85%;
    animation-delay: 4.5s;
    animation-duration: 14.5s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}

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

/* ===================================
   HERO SECTION ANIMATIONS
   =================================== */

.hero-bg {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

.hero-watch {
    filter: drop-shadow(0 30px 80px rgba(212, 175, 55, 0.5)) 
            drop-shadow(0 10px 40px rgba(212, 175, 55, 0.3));
    animation: heroWatchFloat 10s ease-in-out infinite;
}

@keyframes heroWatchFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) scale(1.02) rotate(1deg);
    }
    50% {
        transform: translateY(-30px) scale(1.04) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) scale(1.02) rotate(-1deg);
    }
}

/* Hero Badge Animation */
.hero-badge {
    animation: fadeInDown 1s ease-out forwards;
    animation-delay: 0.3s;
}

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

.hero-title {
    text-shadow: 0 0 80px rgba(212, 175, 55, 0.8),
                 0 0 40px rgba(212, 175, 55, 0.6),
                 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.hero-description {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

.hero-buttons {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.2s;
}

.hero-trust {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.4s;
}

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

/* Hero Watch Animation */
.hero-watch {
    animation: heroWatchAppear 1.5s ease-out forwards, heroWatchFloat 8s ease-in-out infinite 1.5s;
}

@keyframes heroWatchAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: fadeIn 1.5s ease-out 2s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ===================================
   BUTTONS & CTA STYLES
   =================================== */

.cta-button-modern {
    position: relative;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4),
                0 0 0 1px rgba(212, 175, 55, 0.2);
    animation: shimmer 3s linear infinite;
}

.cta-button-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.6),
                0 0 0 2px rgba(212, 175, 55, 0.4);
}

.cta-button-modern:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button-outline {
    position: relative;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.cta-button-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.cta-button-outline:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.cta-button-outline:hover::before {
    opacity: 1;
}

/* Old Button Styles for Compatibility */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.cta-button-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* ===================================
   COLLECTION CARDS - PREMIUM DESIGN
   =================================== */

/* New Premium Card Design */
.watch-card-premium {
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.watch-card-premium .card-inner {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.watch-card-premium:hover .card-inner {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.25),
                0 0 0 2px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Old Card Design (Fallback) */
.watch-card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.watch-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.watch-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.35);
    border-color: rgba(212, 175, 55, 0.5);
}

.watch-card:hover::after {
    opacity: 1;
}

/* Filter Buttons */
.filter-btn {
    cursor: pointer;
}

.filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.filter-btn:hover {
    transform: translateY(-2px);
}

/* Line Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 0;
}

.view-details-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

.view-details-btn:hover::before {
    left: 100%;
}

.view-details-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.view-details-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.feature-icon svg {
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.4));
    transition: transform 0.4s ease;
}

.feature-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.about-image-wrapper img {
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonial-card {
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #d4af37;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===================================
   SUBSCRIBE SECTION
   =================================== */

.subscribe-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Email Input Styling */
input[type="email"] {
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5);
}

/* ===================================
   NAVIGATION
   =================================== */

nav {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

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

/* ===================================
   LOGO ANIMATION
   =================================== */

.logo {
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

/* ===================================
   FOOTER
   =================================== */

footer a {
    position: relative;
    transition: all 0.2s ease;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-watch {
        max-width: 90%;
    }

    .watch-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   PARALLAX EFFECT
   =================================== */

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================
   LOADING ANIMATION
   =================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 3s infinite;
    background: linear-gradient(to right, #d4af37 0%, #f0d78c 50%, #d4af37 100%);
    background-size: 1000px 100%;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-shadow-gold {
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

.border-gradient {
    border-image: linear-gradient(to right, transparent, #d4af37, transparent) 1;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* ===================================
   SMOOTH TRANSITIONS
   =================================== */

.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   IMAGE OPTIMIZATION
   =================================== */

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    nav,
    footer,
    .cta-button,
    .subscribe-btn {
        display: none;
    }
}

