/* ====================================
   FirstBoat - 豪华游艇租赁网站
   HTML5 + CSS3 响应式设计
   Fonts: Chinese: 黑体, English: Arial
   ==================================== */

:root {
    --primary-color: #1a1a1a;
    --accent-color: #c9a962;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-color);
    background: var(--white);
    letter-spacing: 0.5px;
}

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

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

a:hover {
    opacity: 0.8;
}

h1, h2, h3 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.3;
}

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

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 4px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #333;
}

.btn-hero {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.btn-hero:hover {
    background: #e8c778;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

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

.main-nav a {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-content .tagline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-services span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 15px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    min-height: 220px;
    border: 1px solid #333;
    transition: var(--transition);
}

.service-card:hover {
    background: #2a2a2a;
}

.service-num {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.6;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--white);
}

.service-card p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin: 0;
}

/* Scenes Section */
.scenes-section {
    padding: 80px 0;
    background: var(--white);
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scene-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.scene-card:hover img {
    transform: scale(1.1);
}

.scene-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.scene-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.scene-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* Fleet Section */
.fleet-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.fleet-card {
    background: var(--white);
    overflow: hidden;
}

.fleet-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.fleet-info {
    padding: 20px;
}

.fleet-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.fleet-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.fleet-section .btn-outline {
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

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

.why-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.why-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.why-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    padding: 60px 0 30px;
    background: var(--primary-color);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-about h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-contact strong {
    font-weight: 600;
}

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

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

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .scenes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-services {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        min-height: 180px;
        padding: 30px 15px;
    }
    
    .scenes-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        height: 300px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .menu-toggle,
    .btn-primary,
    .btn-hero,
    .btn-outline,
    .cta-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        min-height: auto;
        padding: 20px;
    }
    
    .hero-bg::after {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .fleet-card,
    .scene-card {
        break-inside: avoid;
    }
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #0a2540;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
        right: 0;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Font Weight - Light + Bold */
body {
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .btn, strong {
    font-weight: 700;
}

/* ============================================
   MOBILE MENU FIX - FirstBoat
   ============================================ */
@media (max-width: 768px) {
    /* Hide desktop nav initially */
    .main-nav {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background: #0a2540;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Active state - hamburger to X */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile nav panel */
    .main-nav.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #0a2540;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    
    .main-nav.active a {
        color: #fff;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 16px;
    }
    
    .main-nav.active a:hover {
        color: #0a2540;
    }
    
    .main-nav.active .btn-primary {
        background: #0a2540;
        color: #fff;
        text-align: center;
        margin-top: 20px;
        padding: 15px;
    }
    
    /* Overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
}
