/* ===================================
   Party Boat Sydney Harbour — Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-800);
    background: var(--white);
}

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

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

a:hover {
    color: var(--teal-dark);
}

/* -- Typography -- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.15rem; margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-sm); }

/* -- Layout -- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--sand {
    background: var(--sand);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section__subtitle {
    color: var(--teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

/* -- Header & Navigation -- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    transition: background var(--transition);
}

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-logo span {
    color: var(--teal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    text-decoration: none;
}

.nav-menu a:hover {
    color: var(--teal-light);
}

.nav-cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--teal-dark);
    color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: var(--transition);
}

/* -- Hero -- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--navy);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,40,0.4), rgba(10,22,40,0.8));
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl) var(--space-md);
}

.hero__content h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero__content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

/* -- Buttons -- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

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

.btn--primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--navy);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* -- Occasion Grid -- */
.occasion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}

.occasion-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    text-decoration: none;
    color: var(--grey-800);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.occasion-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    color: var(--grey-800);
}

.occasion-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.occasion-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
}

/* -- Boat Cards -- */
.boat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-md);
}

.boat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--grey-800);
}

.boat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    color: var(--grey-800);
}

.boat-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.boat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.boat-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--teal);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boat-card__body {
    padding: var(--space-md);
}

.boat-card__name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.boat-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--grey-600);
    margin-bottom: var(--space-sm);
}

.boat-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.boat-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: var(--space-sm);
}

.boat-card__feature {
    background: var(--sand);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--grey-600);
}

.boat-card__price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
}

.boat-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--grey-400);
}

/* -- Filter Bar -- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--sand);
    border-radius: var(--radius-lg);
}

.filter-bar select,
.filter-bar input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    color: var(--grey-800);
    flex: 1;
    min-width: 180px;
}

.filter-bar select:focus,
.filter-bar input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

/* -- Boat Detail Page -- */
.boat-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.boat-hero__gallery {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.boat-hero__gallery::-webkit-scrollbar {
    display: none;
}

.boat-hero__gallery img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.boat-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background: linear-gradient(transparent, rgba(10,22,40,0.85));
    color: var(--white);
}

.boat-hero__overlay h1 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.boat-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: calc(-1 * var(--space-lg));
    position: relative;
    z-index: 2;
}

.boat-stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: var(--space-sm);
}

.boat-stat__value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.boat-stat__label {
    font-size: 0.8rem;
    color: var(--grey-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -- How It Works -- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    counter-reset: step;
}

.step {
    text-align: center;
    padding: var(--space-md);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto var(--space-sm);
}

.step h3 {
    font-size: 1.2rem;
}

.step p {
    color: var(--grey-600);
    font-size: 0.95rem;
}

/* -- FAQ Accordion -- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--grey-200);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
}

.faq-item__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--teal);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq-item.active .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer p {
    padding-bottom: var(--space-md);
    color: var(--grey-600);
    line-height: 1.8;
}

/* -- CTA Section -- */
.cta-section {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    margin-bottom: var(--space-lg);
}

/* -- Enquiry Form -- */
.enquiry-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.enquiry-form .form-group {
    margin-bottom: var(--space-md);
}

.enquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--navy);
    font-size: 0.9rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

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

/* -- Features Grid -- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--sand);
    border-radius: var(--radius);
}

.feature-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item__text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.feature-item__text p {
    font-size: 0.85rem;
    color: var(--grey-600);
    margin: 0;
}

/* -- Related Boats -- */
.related-boats {
    padding: var(--space-2xl) 0;
}

/* -- Blog -- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--grey-800);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: var(--space-md);
}

.blog-card__category {
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--navy);
    margin: var(--space-xs) 0;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--grey-600);
}

/* -- Blog Single -- */
.post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.post-content h2 {
    margin-top: var(--space-xl);
}

.post-content ul,
.post-content ol {
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.post-content li {
    margin-bottom: var(--space-xs);
}

.post-content blockquote {
    border-left: 3px solid var(--teal);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--grey-600);
}

/* -- Footer -- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

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

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.85rem;
}

/* -- Responsive -- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .boat-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .occasion-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .boat-stats {
        flex-direction: column;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar select,
    .filter-bar input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .occasion-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .boat-card__meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* -- Utility -- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

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

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