/* ============================================
   Vision Arts Eyecare Center — Stylesheet
   Deep Navy + Warm Gold | Clean Minimalist
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2137;
    --navy-700: #152d4a;
    --navy-600: #1a3658;
    --navy-500: #1e3f66;
    --gold-500: #c8a45e;
    --gold-400: #d4b76a;
    --gold-300: #e0c97a;
    --gold-200: #e8d89a;
    --gold-100: #f2e8c0;
    --white: #ffffff;
    --off-white: #faf9f7;
    --gray-50: #f7f7f5;
    --gray-100: #efefed;
    --gray-200: #e2e2de;
    --gray-300: #c8c8c2;
    --gray-400: #a0a09a;
    --gray-500: #6e6e68;
    --gray-600: #4a4a46;
    --gray-700: #2e2e2a;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-800);
}

/* --- Section Eyebrow --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

/* --- Section Title --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--navy-800);
}

/* --- Section Line --- */
.section-line {
    width: 60px;
    height: 1px;
    background: var(--gold-500);
    margin-bottom: 2rem;
}

.section-line.center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.35s var(--ease-out);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-navy {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}

.btn-navy:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

.btn-dark {
    background: var(--gray-700);
    color: var(--white);
    border-color: var(--gray-700);
}

.btn-dark:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.35);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 var(--gray-200);
}

.navbar.scrolled .logo-text {
    color: var(--navy-800);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--navy-800);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.4s var(--ease-out);
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s var(--ease-out);
}

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

.nav-cta {
    background: var(--gold-500);
    color: var(--navy-900) !important;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.35s var(--ease-out) !important;
}

.nav-cta:hover {
    background: var(--gold-400);
    color: var(--navy-900) !important;
    transform: translateY(-1px);
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--navy-800);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--white);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--white);
    transition: color 0.3s var(--ease-out);
}

.mobile-menu a:hover {
    color: var(--gold-500);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(15, 33, 55, 0.82) 50%,
        rgba(26, 54, 88, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-300);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Hero Info Card --- */
.hero-info-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-item svg {
    color: var(--gold-400);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-item span,
.info-item a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.info-item a:hover {
    color: var(--gold-400);
}

/* --- Hero Scroll --- */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- Services --- */
.services {
    padding: 8rem 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 4rem;
}

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

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: var(--gold-200);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    color: var(--gold-500);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.875rem;
    color: var(--navy-800);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold-500);
    z-index: -1;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy-800);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    background: var(--gray-200);
    align-self: stretch;
}

/* --- Frames --- */
.frames {
    padding: 8rem 0;
    background: var(--white);
}

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

.frame-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.frame-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.frame-item:hover img {
    transform: scale(1.05);
}

.frame-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.frame-item:hover .frame-overlay {
    opacity: 1;
}

.frame-overlay span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    font-style: italic;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(15, 33, 55, 0.85) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-icon {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.contact-item a {
    color: var(--navy-800);
    transition: color 0.3s var(--ease-out);
}

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

.map-container {
    margin-top: 2rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(0.6) contrast(1.05);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--gray-200);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    outline: none;
    transition: all 0.3s var(--ease-out);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success svg {
    color: var(--gold-500);
    margin-bottom: 1.5rem;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--navy-900);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s var(--ease-out);
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s var(--ease-out);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s var(--ease-out);
}

.footer-bottom a:hover {
    color: var(--gold-400);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-info {
        max-width: 480px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .frames-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: 100svh;
    }
    
    .hero-content {
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-info-card {
        padding: 1.75rem;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-accent {
        display: none;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .frames {
        padding: 5rem 0;
    }
    
    .frames-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .frame-item img {
        height: 220px;
    }
    
    .cta-banner {
        padding: 4rem 0;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .contact {
        padding: 5rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .frames-grid {
        grid-template-columns: 1fr;
    }
    
    .frame-item img {
        height: 260px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll {
        animation: none;
    }
}
