/* ========================================
   Off Price Outlets - Website Styles
   ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --primary-red-dark: #B01030;
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: clamp(36px, 5vw, 64px);
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
}

h3 {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--gray-dark);
    border: 2px solid var(--gray-light);
    font-weight: 600;
    text-transform: none;
}

.btn-social:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo-link {
    display: block;
    line-height: 0;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 240px;
    width: auto;
    max-width: none; /* prevent global img max-width from squashing and distorting */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--gray-dark);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.social-nav {
    display: flex;
    gap: 12px;
}

.social-nav a {
    color: var(--gray-dark);
}

.social-nav a:hover {
    color: var(--primary-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: var(--transition);
}

/* Desktop only: no logo in header, compact nav bar */
@media (min-width: 769px) {
    .header .logo {
        display: none;
    }
    .header .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-content {
        min-height: 64px;
        max-height: none;
        align-items: center;
        justify-content: flex-end;
    }
    .nav-menu a {
        font-size: 18px;
    }
}

/* Desktop only: fill the page – wider container and scaled content */
@media (min-width: 769px) {
    .container {
        max-width: 1600px;
        padding: 0 48px;
    }
    
    .about {
        padding: 100px 0;
    }
    .about-content {
        gap: 80px;
        margin-bottom: 80px;
    }
    .about-text h2 {
        font-size: 2.25rem;
        margin-bottom: 28px;
    }
    .about-text p {
        font-size: 19px;
        line-height: 1.85;
    }
    .value-props {
        gap: 48px;
        margin-top: 80px;
    }
    .value-prop {
        padding: 40px 36px;
    }
    .value-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 24px;
    }
    .value-prop h3 {
        font-size: 24px;
        margin-bottom: 14px;
    }
    .value-prop p {
        font-size: 17px;
    }
    .about-focus {
        margin-top: 60px;
        padding: 40px 48px;
    }
    .about-focus h3 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    .about-focus p {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .upcoming-sales {
        padding: 100px 0;
    }
    .upcoming-sales h2 {
        margin-bottom: 56px;
    }
    .sales-content {
        gap: 72px;
    }
    .sale-info,
    .social-cta {
        padding: 48px;
    }
    .sale-info h3,
    .social-cta h3 {
        font-size: 30px;
        margin-bottom: 24px;
    }
    .sale-date {
        font-size: 26px;
    }
    .sale-hours {
        font-size: 22px;
    }
    .sale-details,
    .social-cta p {
        font-size: 18px;
    }
    
    .gallery {
        padding: 100px 0;
    }
    .gallery h2 {
        margin-bottom: 16px;
    }
    .gallery-subtitle {
        font-size: 22px;
        margin-bottom: 56px;
    }
    .gallery-grid {
        gap: 32px;
    }
    .gallery-item:first-child {
        height: 480px;
    }
    .gallery-item:not(:first-child) {
        height: 360px;
    }
    
    .testimonials {
        padding: 100px 0;
    }
    .testimonials h2 {
        margin-bottom: 56px;
    }
    .testimonial-card {
        min-width: 340px;
        max-width: 380px;
        padding: 32px 32px 28px 40px;
    }
    .testimonial-text {
        font-size: 18px;
    }
    
    .location {
        padding: 100px 0;
    }
    .location h2 {
        margin-bottom: 56px;
    }
    .location-content {
        gap: 72px;
    }
    .location-map iframe {
        height: 500px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title-box {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    padding: 28px 40px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    margin: 0;
    line-height: 1.25;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 
        -2px -2px 0 var(--black),
        2px -2px 0 var(--black),
        -2px 2px 0 var(--black),
        2px 2px 0 var(--black),
        -3px -3px 0 var(--black),
        3px -3px 0 var(--black),
        -3px 3px 0 var(--black),
        3px 3px 0 var(--black),
        0 -2px 0 var(--black),
        0 2px 0 var(--black),
        -2px 0 0 var(--black),
        2px 0 0 var(--black),
        0 0 12px rgba(0,0,0,0.8),
        0 0 24px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 32px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-title .highlight,
.hero-subtitle .highlight {
    color: var(--primary-red);
    font-weight: 800;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

@media (min-width: 769px) {
    .hero-cta .btn {
        padding: 18px 40px;
        font-size: 18px;
        min-width: 280px;
        max-width: 480px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    color: var(--black);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-prop {
    text-align: center;
    padding: 32px;
    background-color: var(--gray-light);
    border-radius: 8px;
    transition: var(--transition);
}

.value-prop:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary-red);
}

.value-prop h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--black);
}

.value-prop p {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 0;
}

.about-focus {
    margin-top: 48px;
    padding: 32px 40px;
    background-color: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.about-focus h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 16px;
}

.about-focus p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-dark);
    margin: 0;
}

/* Upcoming Sales Section */
.upcoming-sales {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.upcoming-sales h2 {
    text-align: center;
    margin-bottom: 48px;
}

.sales-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sale-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sale-info h3 {
    color: var(--primary-red);
    font-size: 28px;
    margin-bottom: 20px;
}

.sale-date {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.sale-hours {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.sale-details {
    font-size: 16px;
    color: var(--gray-medium);
    line-height: 1.8;
}

.social-cta {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.3);
}

.social-cta h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 16px;
}

.social-cta p {
    font-size: 18px;
    margin-bottom: 24px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-buttons .btn-social {
    justify-content: center;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery h2 {
    text-align: center;
}

.gallery-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--gray-medium);
    margin-bottom: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item:first-child {
    grid-column: 1 / -1;
    height: 400px;
}

.gallery-item:not(:first-child) {
    height: 300px;
}

.gallery-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc((100% - 24px) / 2);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

.testimonial-card {
    flex: 0 0 auto;
    min-width: 320px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 28px 28px 24px 36px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--primary-red);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    scroll-snap-align: start;
}

.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--primary-red);
    opacity: 0.9;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.testimonial-text {
    flex: 1 1 auto;
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-dark);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.testimonial-author {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-red);
    text-align: right;
    margin-bottom: 0;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Location Section */
.location {
    padding: 80px 0;
    background-color: var(--white);
}

.location h2 {
    text-align: center;
    margin-bottom: 48px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.address h3,
.hours h3 {
    color: var(--primary-red);
    font-size: 24px;
    margin-bottom: 12px;
}

.address-line {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.address-note {
    font-size: 16px;
    color: var(--gray-medium);
    font-style: italic;
}

.next-sale-box {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

.next-sale-date {
    font-size: 20px;
    display: block;
    line-height: 1.4;
}

.hours p {
    font-size: 16px;
    line-height: 1.8;
}

.location-map {
    margin-top: 48px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.location-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 24px 0 16px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 8px;
    max-width: none;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-light);
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 14px;
}

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

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.social-icons a {
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-red);
}

.footer-social p,
.footer-contact p {
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.footer-note {
    font-size: 12px;
    color: var(--gray-medium);
    margin-top: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-medium);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .sales-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .sale-info,
    .social-cta {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .location-map {
        margin-top: 0;
    }
    
    .value-props {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile: big centered logo – 200% bigger, header band stays compact */
    .header {
        overflow: visible;
    }
    .header .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .header-content {
        position: relative;
        min-height: 120px;
        padding: 8px 0;
        justify-content: flex-end;
        overflow: visible;
    }
    
    .header .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }
    
    .header .logo img {
        height: 312px;
        width: auto;
        display: block;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 120px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 120px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .social-nav {
        flex-direction: row;
    }
    
    /* Mobile: extend hero so more image below Get Directions button */
    .hero {
        height: 65vh;
        min-height: 420px;
        padding-bottom: 56px;
    }
    
    .hero-content .container {
        padding-top: 16px;
        padding-bottom: 24px;
    }
    
    .hero-title-box {
        padding: 12px 16px;
        margin-bottom: 12px;
        max-width: 95%;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 1.2;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-cta .btn {
        width: auto;
        max-width: 260px;
        min-width: 0;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: 1;
        height: 300px;
    }
    
    .gallery-item:not(:first-child) {
        height: 250px;
    }
    
    .gallery-item:last-child {
        max-width: none;
        justify-self: stretch;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    section {
        padding: 60px 0 100px;
    }
    
    .about {
        padding-top: 72px;
    }
    
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        padding: 6px 0;
        min-height: 112px;
    }
    
    .header .logo img {
        height: 300px;
        max-width: none;
        object-fit: contain;    }
    
    .nav-menu {
        top: 112px;
        height: calc(100vh - 112px);
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .hero {
        height: 62vh;
        min-height: 380px;
        padding-bottom: 48px;
    }
    
    .hero-title-box {
        padding: 10px 14px;
        margin-bottom: 10px;
        max-width: 95%;
    }
    
    .hero-cta .btn {
        padding: 10px 16px;
        font-size: 13px;
        max-width: 240px;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .value-prop,
    .sale-info,
    .social-cta {
        padding: 24px;
    }
    
    .testimonial-card {
        padding: 24px;
        min-width: 280px;
        max-width: 300px;
    }
    
    .about-focus {
        margin-top: 32px;
        padding: 24px;
    }
    
    section {
        padding-bottom: 120px;
    }
    
    body {
        padding-bottom: 0;
    }
}
