/* ========================================
   El Rodeo Boots — Modern Western Retail
   Color Palette: Midnight Blue + Mint
   ======================================== */

:root {
    --color-midnight: #0a1628;
    --color-midnight-light: #1a2d4a;
    --color-mint: #7ec8c8;
    --color-mint-light: #e8f4f4;
    --color-mint-pale: #f0f8f8;
    --color-cream: #fafbfb;
    --color-white: #ffffff;
    --color-text: #2c3e50;
    --color-text-light: #6b7b8d;
    --color-border: #e2ecef;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 16px 64px rgba(10, 22, 40, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 251, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 251, 251, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-midnight);
}

.logo-icon {
    color: var(--color-mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-mint);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-midnight);
}

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

.btn-nav {
    background: var(--color-midnight);
    color: var(--color-white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--color-midnight-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-midnight);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-mint-pale) 50%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    background: var(--color-mint-light);
    color: var(--color-midnight);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-mint);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-midnight);
    margin-bottom: var(--space-md);
}

.hero-title .highlight {
    color: var(--color-mint);
    font-style: italic;
    position: relative;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-midnight);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-midnight-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--color-midnight);
    border: 2px solid var(--color-midnight);
}

.btn-ghost:hover {
    background: var(--color-midnight);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-midnight);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.hero-image-main img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.hero-image-float {
    position: absolute;
    bottom: -40px;
    left: -60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 4px solid var(--color-white);
}

.hero-image-float img {
    width: 300px;
    height: 400px;
    object-fit: cover;
}

.hero-accent-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ========================================
   Section Common
   ======================================== */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: var(--space-md);
}

/* ========================================
   Collection Section
   ======================================== */
.collection {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.collection-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-cream);
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-large {
    grid-column: span 7;
    grid-row: span 2;
}

.collection-card:not(.card-large) {
    grid-column: span 5;
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
}

.card-tag {
    background: var(--color-mint);
    color: var(--color-midnight);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-content {
    padding: var(--space-md);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-midnight);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-mint);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--color-midnight);
    gap: 0.5rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-2xl) 0;
    background: var(--color-mint-pale);
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    height: 600px;
}

.about-img-primary {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 320px;
    height: 400px;
}

.about-img-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 260px;
    height: 320px;
    border: 4px solid var(--color-white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-mint-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-mint);
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ========================================
   Craft Section
   ======================================== */
.craft {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.craft-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.craft-text-body {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.craft-visual {
    position: relative;
    height: 600px;
}

.craft-image-grid {
    position: relative;
    height: 100%;
}

.craft-img {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.craft-img:first-child {
    top: 0;
    left: 0;
    width: 280px;
    height: 350px;
}

.craft-img:nth-child(2) {
    bottom: 0;
    right: 0;
    width: 260px;
    height: 320px;
}

.craft-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Visit Section
   ======================================== */
.visit {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-mint-pale) 0%, var(--color-cream) 100%);
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
}

.visit-info {
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.visit-text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-mint-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-mint);
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-midnight);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-mint);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-midnight);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 480px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-midnight);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-logo-icon {
    color: var(--color-mint);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-mint);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-col li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-container,
    .craft-content,
    .visit-container {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-image-stack {
        height: 400px;
    }
    
    .craft-visual {
        height: 400px;
    }
    
    .collection-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .collection-card:not(.card-large) {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 251, 251, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-lg);
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .card-large {
        grid-column: span 1;
    }
    
    .collection-card:not(.card-large) {
        grid-column: span 1;
    }
    
    .about-image-stack {
        height: 350px;
    }
    
    .about-img-primary {
        width: 220px;
        height: 280px;
    }
    
    .about-img-secondary {
        width: 180px;
        height: 220px;
    }
    
    .craft-visual {
        height: 350px;
    }
    
    .craft-img:first-child {
        width: 200px;
        height: 260px;
    }
    
    .craft-img:nth-child(2) {
        width: 180px;
        height: 220px;
    }
    
    .visit-container {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .map-placeholder {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .collection-card .card-content {
        padding: var(--space-sm);
    }
}
