/* ============================================
   Erie Shores Boats and Brokerage LLC
   Custom Styles — Deep Navy + Warm Gold
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-navy-900: #0a1628;
    --color-navy-800: #0f2140;
    --color-navy-700: #152d56;
    --color-navy-600: #1b3a6e;
    --color-navy-500: #234b8a;
    --color-navy-100: #d0dce8;
    --color-navy-50:  #eaf2fa;
    
    --color-gold-600: #b8860b;
    --color-gold-500: #d4a017;
    --color-gold-400: #e6b837;
    --color-gold-300: #f0d060;
    --color-gold-200: #f7e4a0;
    --color-gold-100: #fdf6e3;
    --color-gold-50:  #fefcf5;
    
    --color-white:    #ffffff;
    --color-off-white:#faf8f4;
    --color-cream:    #f7f4ee;
    --color-gray-100: #f3f1ec;
    --color-gray-200: #e8e4dc;
    --color-gray-400: #9e9a90;
    --color-gray-600: #6b665e;
    --color-gray-800: #3a3630;
    --color-gray-900: #1e1c18;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    
    --shadow-sm:  0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md:  0 8px 30px rgba(10, 22, 40, 0.10);
    --shadow-lg:  0 20px 60px rgba(10, 22, 40, 0.14);
    --shadow-gold:0 8px 30px rgba(212, 160, 23, 0.25);
    
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-600);
    background: var(--color-gold-100);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag.light {
    color: var(--color-gold-300);
    background: rgba(212, 160, 23, 0.15);
}

/* ---------- Section Titles ---------- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy-800);
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-subtitle.light {
    color: var(--color-navy-100);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-gold-400);
    border-color: var(--color-gold-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

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

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

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold-400);
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    background: var(--color-gold-500);
    color: var(--color-navy-900) !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    margin-left: 8px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--color-gold-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: 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.82) 0%,
        rgba(15, 33, 64, 0.70) 50%,
        rgba(27, 58, 110, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 23, 0.2);
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--color-gold-300);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-navy-100);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: float 2.5s ease-in-out infinite;
}

.hero-scroll svg {
    width: 28px;
    height: 28px;
}

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

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--color-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-200);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gold-400);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-navy-800);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.75;
}

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--color-white);
}

.about-img-secondary img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
    color: var(--color-navy-900);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-content {
    max-width: 520px;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-text {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.feature-check {
    width: 20px;
    height: 20px;
    color: var(--color-gold-500);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

/* ---------- Why Choose Us ---------- */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(212, 160, 23, 0.3);
    transform: translateY(-4px);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold-500);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.7;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-navy-100);
    line-height: 1.75;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    margin-top: 8px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold-400);
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-navy-800);
    margin-bottom: 4px;
}

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

.contact-item a {
    color: var(--color-gold-600);
    font-weight: 500;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy-800);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-gray-800);
    background: var(--color-off-white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold-500);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--color-gold-500);
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy-800);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}

/* ---------- Map ---------- */
.map-section {
    background: var(--color-gray-100);
}

.map-container {
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.8) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-navy-900);
    color: var(--color-navy-100);
    padding: 72px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-gold-400);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-navy-100);
    line-height: 1.75;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-navy-100);
    transition: color var(--transition);
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--color-navy-100);
    line-height: 1.6;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--color-navy-100);
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(208, 220, 232, 0.5);
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        max-width: 500px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-navy-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 40px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .about-img-secondary img {
        width: 200px;
        height: 160px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    .services,
    .about,
    .why-choose,
    .contact {
        padding: 72px 0;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .hero-content {
        padding: 100px 18px 70px;
    }
}
