/* Custom Styles for Shirts By Sam */

:root {
    --navy-900: #0a1628;
    --navy-800: #111d35;
    --navy-700: #1a2d4a;
    --navy-600: #243d62;
    --gold-400: #d4a853;
    --gold-500: #c49a3f;
    --gold-600: #b8860b;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy-900);
    line-height: 1.6;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Navbar */
.navbar {
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link, .mobile-nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
}

.hero-gradient {
    background: linear-gradient(
        135deg,
        var(--navy-900) 0%,
        var(--navy-800) 25%,
        #1a3a5c 50%,
        var(--navy-800) 75%,
        var(--navy-900) 100%
    );
}

.hero-image {
    opacity: 0.4;
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.9) 0%,
        rgba(26, 58, 92, 0.7) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero-content {
    padding-top: 80px;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-headline {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-line {
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
    100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.btn-gold-large {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    transition: all 0.3s ease;
}

.btn-gold-large:hover {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 168, 83, 0.4);
}

.btn-outline-light {
    transition: all 0.3s ease;
}

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

/* Service Cards */
.service-card {
    transition: all 0.5s ease;
}

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

/* Process Cards */
.process-card {
    position: relative;
}

.process-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: var(--gold-400);
    opacity: 0.5;
}

.process-card:last-child::after {
    display: none;
}

/* Gallery */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.7s ease;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Section Reveals */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .process-card::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .btn-gold-large,
    .btn-outline-light {
        width: 100%;
    }
}

/* 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;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--gold-400);
    color: var(--navy-900);
}
