@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --primary: #0B1F3A;
    --accent: #1E6FA8;
    --bg-sand: #F7F2E8;
    --cta-orange: #F97316;
    --text-ink: #111827;
    --text-muted: #6B7280;
    --white: #ffffff;
    --section-padding: 80px 5%;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-ink);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 10px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 5px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        /* Hide desktop nav on tablet/mobile */
    }
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cta-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--cta-orange);
}

.header-ctas {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--cta-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1a2e4d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(11, 31, 58, 0.45), rgba(11, 31, 58, 0.45)), url(sunglasses-Hero.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    margin-top: 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0.8;
}

.trust-badge::before,
.trust-badge::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--cta-orange);
}

/* Section Styling */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 700;
    color: var(--cta-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Brand Strip */
.brand-strip {
    background: var(--primary);
    padding: 3rem 0;
}

.brand-scroll {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.8;
}

.brand-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    color: var(--cta-orange);
}

/* Prescription Spotlight */
.prescription-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.spotlight-img {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: url('https://images.unsplash.com/photo-1572635196237-14b3f281503f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.spotlight-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--cta-orange);
}

/* Locations */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.location-card {
    padding: 3rem;
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.location-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.landmark {
    font-size: 0.9rem;
    color: var(--accent);
    font-style: italic;
    margin: 1rem 0;
}

.location-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer - THE FIX */
footer {
    background: #050d18;
    color: var(--white);
    padding: 80px 5% 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    opacity: 0.6;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--cta-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Utility Classes */
.bg-light {
    background-color: var(--bg-sand);
}

.text-center {
    text-align: center;
}

/* Sticky Mobile Bar (Bonus for accessibility) */
@media (max-width: 768px) {
    .header-ctas .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}