/*
Theme Name: OpticZone
Theme URI: https://opticzone.ca
Description: Custom WordPress theme for OpticZone - Toronto's award-winning eyewear boutique
Version: 2.0
Author: OpticZone
*/

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

/* ========== CSS VARIABLES ========== */
:root {
    /* After-Hours Palette - For Artists, Rockers & Poets */
    --obsidian: #1A1A1B;
    --charcoal: #2D2D2D;
    --cream: #FAF9F6;
    --vermillion: #FF5722;
    --garnet: #3D0B0B;
    --warm-gray: #9B8E82;
    
    /* Semantic Color Mapping */
    --bg-primary: #1A1A1B;
    --bg-secondary: #2D2D2D;
    --text-primary: #FAF9F6;
    --text-secondary: rgba(250, 249, 246, 0.85);
    --accent-primary: #FF5722;
    --accent-hover: #FF6F42;
    --accent-secondary: #3D0B0B;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-mono: 'Roboto Mono', 'SF Mono', Consolas, monospace;
}

/* ========== BASE STYLES ========== */
body {
    font-family: var(--font-body);
    background: var(--obsidian);
    color: var(--cream);
    overflow-x: hidden;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 27, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(250, 249, 246, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
}

.logo,
.custom-logo-link {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    letter-spacing: 6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

/* Logo Size Variations */
.logo-size-small .custom-logo {
    max-height: 40px;
}

.logo-size-small .logo {
    font-size: 0.95rem;
    letter-spacing: 5px;
}

.logo-size-medium .custom-logo {
    max-height: 50px;
}

.logo-size-medium .logo {
    font-size: 1.1rem;
    letter-spacing: 6px;
}

.logo-size-large .custom-logo {
    max-height: 65px;
}

.logo-size-large .logo {
    font-size: 1.3rem;
    letter-spacing: 7px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    list-style: none;
    justify-content: center;
}

.nav-links a {
    color: rgba(250, 249, 246, 0.85);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-utilities {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.65rem 1.2rem 0.65rem 2.8rem;
    color: white;
    font-size: 0.85rem;
    width: 240px;
    transition: all 0.3s;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-bar input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    pointer-events: none;
}

.btn-nav {
    background: var(--vermillion);
    color: #FFFFFF;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: none;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.4);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 10rem 3rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 75, 158, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.8rem;
    background: transparent;
    border: 2px solid var(--vermillion);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    color: var(--cream);
}

.hero-badge::before {
    content: '★';
    color: var(--vermillion);
    font-size: 1.1rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.hero-title-line1 {
    font-family: var(--font-display);
    font-weight: 600;
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title-line2 {
    font-family: var(--font-script);
    font-weight: 500;
    color: var(--rose);
    font-size: 1.4em;
    display: block;
    margin-left: 1.5rem;
    transform: rotate(-3deg);
    margin-top: -0.1em;
    margin-bottom: 0.1em;
}

.hero-title-line3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1em;
    letter-spacing: -0.02em;
    display: block;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(250, 249, 246, 0.85);
    margin-bottom: 3.5rem;
    max-width: 560px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--vermillion);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--vermillion);
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1.2rem 0;
    position: relative;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s;
}

.btn-secondary:hover {
    color: var(--teal);
}

.btn-secondary:hover::after {
    margin-left: 1rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.trust-text {
    font-size: 0.85rem;
}

.trust-text strong {
    display: block;
    font-weight: 600;
    color: white;
}

.trust-text span {
    color: rgba(255, 255, 255, 0.6);
}

.hero-image {
    position: relative;
    height: 750px;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    filter: contrast(1.25) saturate(0.6) brightness(0.88);
}

.hero-image-overlay {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    height: 220px;
    background: var(--vermillion);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    border: none;
}

.overlay-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.overlay-text {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== JOE SECTION ========== */
.joe-section {
    padding: 10rem 3rem;
    background: var(--navy-light);
    position: relative;
}

.joe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.joe-container {
    max-width: 1400px;
    margin: 0 auto;
}

.joe-main-heading {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
}

.joe-main-heading .script {
    font-family: var(--font-script);
    background: linear-gradient(135deg, var(--vermillion) 0%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
}

.joe-main-subtitle {
    font-size: 1.75rem;
    color: var(--vermillion);
    margin-bottom: 4rem;
    font-weight: 500;
    text-align: center;
}

.joe-content-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 8rem;
    align-items: center;
}

.joe-image-wrapper {
    position: relative;
}

.joe-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    filter: contrast(1.25) saturate(0.6) brightness(0.88);
}

.joe-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--yellow);
    color: var(--navy);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.3;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    transform: rotate(10deg);
}

.joe-badge-number {
    font-size: 2rem;
    font-family: var(--font-display);
    line-height: 1;
}

.joe-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.joe-content h2 .script {
    font-family: var(--font-script);
    color: var(--rose);
    font-size: 1.2em;
}

.joe-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.joe-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ========== JOE TESTIMONIAL QUOTE ========== */
.joe-quote {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--vermillion);
    border-radius: 0;
    padding: 4rem 4.5rem 3.5rem 4.5rem;
    margin: 5rem 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.joe-quote::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--vermillion);
    opacity: 0.15;
    font-weight: 700;
}

.joe-quote .joe-quote-text {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-align: center;
}

.joe-quote .joe-quote-author {
    margin-top: 2rem;
    padding-top: 0;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--text-secondary);
    border-top: none;
    text-align: center;
}

.joe-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========== DEAL BANNERS & PROMOTIONS ========== */
.deal-banner {
    background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
    padding: 2rem 3rem;
    margin-top: 80px;
}

.deal-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.deal-banner-image {
    flex: 0 0 300px;
}

.deal-banner-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.deal-banner-text {
    flex: 1;
}

.deal-banner-text h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.deal-banner-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: rgba(10, 22, 40, 0.85);
}

.btn-deal {
    background: white;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background: var(--cream);
}

.deal-section {
    padding: 4rem 3rem;
    background: rgba(239, 209, 117, 0.08);
}

.deal-section .deal-card {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.deal-section .deal-card img {
    flex: 0 0 50%;
    object-fit: cover;
    height: 400px;
}

.deal-card-content {
    padding: 3rem;
    flex: 1;
}

.deal-card-content h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.deal-card-content p {
    color: rgba(10, 22, 40, 0.7);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ========== BRANDS SECTION ========== */
.brands-section {
    padding: 10rem 3rem;
    position: relative;
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
}

.brands-header {
    text-align: center;
    margin-bottom: 6rem;
}

.brands-header h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.brands-header h2 .display {
    font-family: var(--font-display);
}

.brands-header h2 .script {
    font-family: var(--font-script);
    color: var(--rose);
}

.brands-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.brand-card {
    position: relative;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
}

.brand-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    filter: contrast(1.25) saturate(0.55) brightness(0.85);
}

.brand-card:hover img {
    transform: scale(1.08);
    filter: contrast(1.3) saturate(0.65) brightness(0.92);
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.brand-logo {
    margin-bottom: 1rem;
}

.brand-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy-section {
    padding: 0;
    margin: 8rem 0;
    background: linear-gradient(135deg, rgba(212, 82, 110, 0.15) 0%, rgba(197, 165, 114, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero-main.jpg') center/cover;
    filter: contrast(1.3) saturate(0.5) brightness(0.75) blur(8px);
    opacity: 0.3;
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 4rem;
    position: relative;
    z-index: 2;
}

.philosophy-quote {
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 18rem;
    color: rgba(197, 165, 114, 0.15);
    position: absolute;
    top: -8rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
}

.philosophy-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

.philosophy-accent {
    font-family: var(--font-script);
    color: var(--rose);
    font-size: 1.2em;
    display: inline-block;
    transform: rotate(-2deg);
}

.philosophy-attribution {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-style: italic;
}

/* ========== CURATED SECTION ========== */
.curated-section {
    padding: 10rem 3rem;
    background: var(--navy-light);
}

.curated-container {
    max-width: 1400px;
    margin: 0 auto;
}

.curated-header {
    margin-bottom: 5rem;
}

.curated-header h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.curated-header h2 .regular {
    font-family: var(--font-body);
    font-weight: 400;
}

.curated-header h2 .script {
    font-family: var(--font-script);
    color: var(--blue);
}

.curated-subhead {
    font-size: 1.5rem;
    color: var(--rose);
    font-weight: 600;
    font-style: italic;
}

.frames-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.frame-card {
    position: relative;
    background: transparent;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.frame-card:hover {
    transform: translateY(-12px);
}

.frame-card:hover .frame-image {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(197, 165, 114, 0.2);
}

.frame-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--charcoal);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.frame-card.featured .frame-badge {
    background: var(--rose);
    color: white;
}

.frame-badge.joes-pick {
    font-family: var(--font-script);
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    background: rgba(212, 82, 110, 0.95);
    color: white;
    padding: 0.6rem 1.5rem;
    top: -10px;
    transform: rotate(-3deg);
}

.frame-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    filter: contrast(1.25) saturate(0.6) brightness(0.88);
    transition: all 0.5s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.frame-card:hover .frame-image {
    filter: contrast(1.3) saturate(0.7) brightness(0.95);
}

.frame-info {
    padding: 2rem 0.5rem 0.5rem;
}

.frame-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.frame-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.frame-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.frame-cta::after {
    content: '→';
    transition: transform 0.3s;
}

.frame-card:hover .frame-cta {
    gap: 0.75rem;
}

.frame-card:hover .frame-cta::after {
    transform: translateX(4px);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    padding: 10rem 3rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 6rem;
}

.testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--gold);
    border-radius: 0;
    padding: 3rem 3rem 3rem 3.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: visible;
}

.testimonial-card::before {
    content: none;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: var(--rose);
    transform: translateX(8px);
    padding-left: 4rem;
}

.stars {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: white;
}

.testimonial-meta {
    font-size: 1rem;
    color: var(--rose);
    font-weight: 600;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 10rem 3rem;
    background: linear-gradient(135deg, #1A2332 0%, #2C3E50 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cta-container h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta-container h2 .display {
    font-family: var(--font-display);
}

.cta-container h2 .script {
    font-family: var(--font-script);
    font-size: 1.2em;
}

.cta-container p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.trust-line {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-cta-primary {
    background: var(--vermillion);
    color: #FFFFFF;
    padding: 1.4rem 3.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.3);
    border: none;
}

.btn-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255, 87, 34, 0.5);
    background: var(--accent-hover);
}

.btn-cta-secondary {
    background: transparent;
    color: #FFFFFF;
    padding: 1.4rem 3.5rem;
    border: 2px solid var(--teal);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-cta-secondary:hover {
    color: white;
    border-color: var(--teal);
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(91, 154, 169, 0.4), inset 0 0 30px rgba(91, 154, 169, 0.1);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--charcoal);
    padding: 6rem 4rem 3rem;
    border-top: 1px solid rgba(250, 249, 246, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-brand .footer-tagline {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--vermillion);
    line-height: 1.6;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--vermillion);
}

.footer-links a.highlight {
    color: var(--vermillion);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 249, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-legal a:hover {
    color: var(--vermillion);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--vermillion);
    outline-offset: 2px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 27, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay .nav-links {
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
}

.mobile-menu-overlay .nav-links li {
    border-bottom: 1px solid rgba(250, 249, 246, 0.1);
}

.mobile-menu-overlay .nav-links a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.mobile-menu-overlay .search-bar {
    display: flex;
    margin-bottom: 1.5rem;
}

.mobile-menu-overlay .search-bar input {
    width: 100%;
}

.mobile-menu-overlay .btn-nav {
    width: 100%;
    text-align: center;
    display: block;
}

/* ========== MOBILE STICKY CTA ========== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--vermillion);
    padding: 1rem 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
    transform: translateZ(0);
    will-change: transform;
}

.mobile-sticky-cta a {
    display: block;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sticky-cta a:active {
    transform: scale(0.98);
}

/* ========== TOUCH OPTIMIZATIONS ========== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .btn-primary:hover,
    .btn-cta-primary:hover,
    .btn-nav:hover,
    .frame-card:hover,
    .brand-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .btn:active {
        transform: scale(0.98);
    }
    
    .btn-primary:active {
        background: var(--vermillion);
    }
    
    /* Momentum scrolling */
    * {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Prevent pull-to-refresh on sections */
    body {
        overscroll-behavior-y: contain;
    }
}

/* ========== RESPONSIVE - OPTIMIZED ========== */

/* Tablet Large - 1200px */
@media (max-width: 1200px) {
    :root {
        --section-padding: 6rem 2rem;
    }
    
    nav {
        padding: 1.5rem 2rem;
        gap: 2rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .search-bar input {
        width: 200px;
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    nav {
        grid-template-columns: auto 1fr;
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-utilities {
        justify-self: end;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 8rem 2rem 5rem;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
        height: 500px;
    }
    
    .hero-image-overlay {
        width: 180px;
        height: 180px;
        bottom: -20px;
        right: -20px;
    }
    
    .overlay-number {
        font-size: 2.8rem;
    }
    
    /* Joe Section */
    .joe-section,
    .brands-section,
    .curated-section,
    .testimonials-section {
        padding: 6rem 2rem;
    }
    
    .joe-content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .joe-image {
        height: 500px;
    }
    
    .joe-quote {
        padding: 3rem 3rem 2.5rem;
    }
    
    .joe-quote .joe-quote-text {
        font-size: 1.8rem;
    }
    
    .joe-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Grids */
    .brands-grid,
    .frames-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Deals */
    .deal-banner {
        margin-top: 70px;
    }
    
    .deal-banner-content,
    .deal-section .deal-card {
        flex-direction: column;
        gap: 2rem;
    }
    
    .deal-banner-image {
        width: 100%;
    }
    
    .deal-section .deal-card img {
        width: 100%;
        height: 280px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 1rem 1.5rem;
    }
    
    .search-bar {
        display: none;
    }
    
    .btn-nav {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
    }
    
    /* Hero */
    .hero {
        padding: 7rem 1.5rem 4rem;
        gap: 2.5rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-image-overlay {
        width: 140px;
        height: 140px;
        bottom: -15px;
        right: -15px;
    }
    
    .overlay-number {
        font-size: 2.2rem;
    }
    
    /* Sections */
    .joe-section,
    .brands-section,
    .curated-section,
    .testimonials-section {
        padding: 5rem 1.5rem;
    }
    
    .cta-section {
        padding: 5rem 1.5rem;
    }
    
    /* Joe */
    .joe-main-heading,
    .brands-header h2,
    .curated-header h2,
    .testimonials-header h2 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .joe-image {
        height: 400px;
    }
    
    .joe-quote {
        padding: 2.5rem 2rem 2rem;
        margin: 3rem 0;
    }
    
    .joe-quote .joe-quote-text {
        font-size: 1.5rem;
    }
    
    .joe-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Grids */
    .brands-grid,
    .frames-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .brand-card {
        height: 280px;
    }
    
    .frame-image {
        height: 350px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem 2rem 2rem 2.5rem;
    }
    
    .testimonial-card:hover {
        transform: none;
        padding-left: 2.5rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    /* Philosophy */
    .philosophy-container {
        padding: 8rem 2rem;
    }
    
    .philosophy-text {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    /* CTA */
    .cta-container h2 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Mobile Sticky CTA */
    .mobile-sticky-cta {
        display: block;
    }
    
    /* Deals */
    .deal-banner {
        padding: 1.5rem;
        margin-top: 65px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .logo,
    .custom-logo-link {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
    
    .custom-logo {
        max-height: 40px;
    }
    
    .hero h1,
    .joe-main-heading,
    .brands-header h2,
    .curated-header h2 {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }
    
    .hero-image,
    .joe-image {
        height: 350px;
    }
    
    .hero-image-overlay {
        width: 120px;
        height: 120px;
    }
    
    .overlay-number {
        font-size: 1.8rem;
    }
    
    .joe-quote {
        padding: 2rem 1.5rem;
    }
    
    .joe-quote .joe-quote-text {
        font-size: 1.3rem;
    }
    
    .frame-image {
        height: 300px;
    }
}

/* Landscape Phone - Performance Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero,
    .joe-section,
    .brands-section,
    .curated-section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }
    
    .hero-image,
    .joe-image {
        height: 350px;
    }
}