/* ============================================
   NautiBuoy Rentals — Main Stylesheet
   Brand Colors (from logo):
     Primary Navy:   #1B3A4B
     Coral Accent:   #D94F30
     Light Teal:     #5BA4C9
     Background:     #F5F7FA
     White:          #FFFFFF
   ============================================ */

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

:root {
    --navy: #1B3A4B;
    --navy-dark: #122832;
    --navy-light: #2A5068;
    --coral: #D94F30;
    --coral-hover: #C4432A;
    --teal: #5BA4C9;
    --teal-light: #7EBEDD;
    --bg: #F5F7FA;
    --white: #FFFFFF;
    --gray-100: #F0F2F5;
    --gray-200: #E1E5EA;
    --gray-300: #C8CED6;
    --gray-500: #7A8694;
    --gray-700: #3D4852;
    --text: #1B3A4B;
    --text-light: #5A6B78;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(27, 58, 75, 0.08);
    --shadow-lg: 0 12px 48px rgba(27, 58, 75, 0.12);
    --transition: 0.3s ease;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 2rem; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.btn--accent { background: var(--coral); color: var(--white); border-color: var(--coral); }
.btn--accent:hover { background: var(--coral-hover); border-color: var(--coral-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217, 79, 48, 0.3); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0.75rem 0; transition: all var(--transition);
    background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav.scrolled {
    padding: 0.5rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav__container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo-img { height: 50px; width: auto; transition: height var(--transition); }
.nav.scrolled .nav__logo-img { height: 40px; }
.nav__links {
    list-style: none; display: flex; align-items: center; gap: 2rem;
}
.nav__links a {
    color: var(--navy); font-weight: 500; font-size: 0.95rem;
    position: relative; padding: 0.25rem 0;
}
.nav__links a:hover, .nav__links a.active { color: var(--coral); }
.nav__links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
    height: 2px; background: var(--coral); transition: width var(--transition);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
    display: block; width: 24px; height: 2px; background: var(--navy);
    margin: 5px 0; transition: all var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--navy-dark);
}
.hero__media { position: absolute; inset: 0; }
.hero__video, .hero__fallback {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0;
}
.hero__video { z-index: 1; }
.hero__overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(27,58,75,0.6) 0%, rgba(27,58,75,0.4) 50%, rgba(27,58,75,0.7) 100%);
}
.hero__content {
    position: relative; z-index: 3; text-align: center;
    color: var(--white); max-width: 700px; padding: 0 1.5rem;
}
.hero__logo { height: 480px; width: auto; margin: 0 auto 2rem; }
.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-heading); margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem; opacity: 0.9; line-height: 1.8;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 3; color: var(--white); text-align: center; opacity: 0.7;
    animation: bounce 2s infinite;
}
.hero__scroll span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* --- Section Titles --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem); text-align: center;
    margin-bottom: 0.75rem; color: var(--navy);
}
.section-title--left { text-align: left; }
.section-subtitle {
    text-align: center; font-size: 1.125rem; color: var(--text-light);
    margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* --- Features --- */
.features { padding: 5rem 0; background: var(--white); }
.features__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.feature { text-align: center; padding: 2rem; }
.feature__icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem;
    background: var(--bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
}
.feature h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--navy); }
.feature p { color: var(--text-light); }

/* --- Fleet --- */
.fleet { padding: 5rem 0; background: var(--bg); }
.fleet__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.fleet__card {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform var(--transition);
}
.fleet__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fleet__card--featured { grid-column: 1 / -1; }
.fleet__img { width: 100%; height: 100%; object-fit: cover; min-height: 250px; }
.fleet__card--featured .fleet__img { min-height: 400px; }

/* --- Pricing --- */
.pricing { padding: 5rem 0; background: var(--white); }
.pricing__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; max-width: 960px; margin: 0 auto;
}
.pricing__card {
    background: var(--white); border: 2px solid var(--gray-200);
    border-radius: var(--radius); padding: 2.5rem 2rem;
    text-align: center; transition: all var(--transition);
    position: relative;
}
.pricing__card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing__card--popular { border-color: var(--coral); transform: scale(1.05); }
.pricing__card--popular:hover { transform: scale(1.05) translateY(-4px); }
.pricing__badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--coral); color: var(--white);
    padding: 0.25rem 1.25rem; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.pricing__duration { font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.pricing__price {
    font-size: 3rem; font-weight: 700; color: var(--navy);
    font-family: var(--font-heading); margin-bottom: 1rem;
}
.pricing__desc { color: var(--text-light); margin-bottom: 2rem; line-height: 1.7; }
.pricing__note { text-align: center; margin-top: 2rem; color: var(--gray-500); font-size: 0.9rem; }

/* --- About --- */
.about { padding: 5rem 0; background: var(--bg); }
.about__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about__content p { color: var(--text-light); margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.about__content strong { color: var(--navy); }
.about__image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* --- Contact --- */
.contact { padding: 5rem 0; background: var(--white); }
.contact__grid {
    display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start;
}
.contact__item { margin-bottom: 2rem; }
.contact__item h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }
.contact__item p { color: var(--text-light); line-height: 1.7; }
.contact__item a { color: var(--teal); }
.contact__item a:hover { color: var(--coral); }

/* --- CTA Banner --- */
.cta-banner {
    padding: 5rem 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center; color: var(--white);
}
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; color: var(--white); }
.cta-banner p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }

/* --- Footer --- */
.footer { padding: 4rem 0 2rem; background: var(--navy-dark); color: rgba(255,255,255,0.7); }
.footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem; margin-bottom: 3rem;
}
.footer__logo { height: 60px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__tagline { font-style: italic; opacity: 0.8; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--teal-light); }
.footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all var(--transition); }
.footer__social-link:hover { background: var(--coral); color: var(--white); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 0.875rem;
}
.footer__legal { display: flex; gap: 1.5rem; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav__links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: var(--white);
        padding: 2rem; gap: 1rem; text-align: center;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .nav__links.open { display: flex; }
    .nav__toggle { display: block; }

    .hero__logo { height: 250px; }
    .hero__cta { flex-direction: column; align-items: center; }

    .fleet__grid { grid-template-columns: 1fr; }
    .fleet__card--featured { grid-column: 1; }
    .fleet__card--featured .fleet__img { min-height: 250px; }

    .pricing__card--popular { transform: none; }
    .pricing__card--popular:hover { transform: translateY(-4px); }

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

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .features__grid { grid-template-columns: 1fr; }
    .pricing__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}
