/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9d7b7b;
    --secondary-color: #c9967a;
    --accent-color: #e89b8e;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #2c2c2c;
    --border-color: #e5e5e5;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation - Harbor Style */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand h2 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section - Full Width Image Style */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content .tagline {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section Headers - Harbor Style */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

section h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Local Like You Section */
.local-section {
    padding: 100px 40px;
    background-color: var(--bg-white);
}

.local-content .intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.about-card {
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.about-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 2rem 1rem;
}

.about-card p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    padding: 0 2rem 2rem;
}

/* Products Section */
.products-section {
    padding: 100px 40px;
    background-color: var(--bg-light);
}

.products-content .intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 2rem 1rem;
}

.service-card p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    padding: 0 2rem 2rem;
}

/* Brand Carousel */
.brands-carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-white);
    border-radius: 8px;
    margin: 2rem auto;
}

.brands-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.brand-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 1.5rem 2rem;
    gap: 0.75rem;
}

.brand-slide img {
    max-width: 280px;
    max-height: 110px;
    object-fit: contain;
}

.brand-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta-banner .section-label {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.cta-banner h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cta-banner h3.catalog-heading {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cta-button-secondary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-section {
    padding: 100px 40px;
    background-color: var(--bg-white);
}

.contact-content .intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    font-size: 0.85rem;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Footer - Harbor Style */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 40px 30px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

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

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-brand h2 {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .tagline {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .local-section,
    .products-section,
    .contact-section {
        padding: 60px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Brand Carousel Mobile */
    .brands-carousel {
        height: 160px;
    }

    .brand-slide {
        padding: 1.5rem 1rem 1rem 1rem;
        gap: 0.5rem;
    }

    .brand-slide img {
        max-width: 200px;
        max-height: 90px;
    }

    .brand-category {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        letter-spacing: 0.3px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .card-image,
    .service-image {
        height: 180px;
    }

    /* Brand Carousel Extra Small Screens */
    .brands-carousel {
        height: 140px;
    }

    .brand-slide {
        padding: 1rem 0.75rem 0.75rem 0.75rem;
        gap: 0.4rem;
    }

    .brand-slide img {
        max-width: 160px;
        max-height: 70px;
    }

    .brand-category {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        letter-spacing: 0.2px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }
}
