/* Minimalist CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Font */
@font-face {
    font-family: 'Birthlong';
    src: url('fonts/Birthlong.ttf') format('truetype'),
         url('fonts/Birthlong.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding: 0;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
}

h1 {
    font-family: 'Birthlong', cursive;
    font-weight: normal;
    font-size: 2rem;
    margin: 0;
    color: #222;
}

h1 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 0;
    color: #222;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

nav a:hover {
    color: #000;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #555;
    margin: 3px 0;
    transition: 0.3s;
}
/* Hero Images */
.hero-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
    z-index: 1;
}

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

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem;
}

.hero-text h2 {
    color: white;
    border-bottom: none;
    padding-bottom: 0;
}

.hero-text p {
    color: white;
    margin-bottom: 0;
}

.hero-description {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    .hero-description {
        padding: 0 1rem;
        font-size: 1rem;
    }
}

/* Profile Pictures */
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.coach-bio::after,
.safety-diver-bio::after {
    content: "";
    display: table;
    clear: both;
}

/* Facility and Gear Images */
.facility-pic,
.gear-pic,
.workshop-pic,
.location-pic {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.9rem;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

/* Coach and Safety Diver Bios */
.coach-bios, .safety-diver-bios {
    margin-top: 2rem;
}

.coach-bio, .safety-diver-bio {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 3px solid #0066cc;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.coach-bio h3, .safety-diver-bio h3 {
    margin-top: 0;
    color: #0066cc;
}

/* Facilities List */
.facilities-list ul {
    list-style-type: square;
    margin-left: 1.5rem;
}

.facilities-list li {
    margin-bottom: 0.5rem;
}

/* Price List Table */
.price-list table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.price-list th, .price-list td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.price-list th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.price-list tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-list em {
    font-size: 0.9rem;
}

/* Blog Posts */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.blog-post {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fafafa;
    position: relative;
    z-index: 1;
}

.post-date {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Rate Packages */
.rate-packages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.rate-package-box {
    flex: 1;
    min-width: 250px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.rate-package-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.package-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.package-description {
    color: #555;
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.package-features {
    text-align: left;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.package-features ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.package-features li:before {
    content: "✓";
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem 1rem;
        align-items: stretch;
        width: 100%;
    }

    main {
        padding: 1rem 1rem;
    }

    .logo-container {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .logo {
        height: 40px;
        width: 40px;
    }

    h1 {
        font-size: 1.5rem;
        margin: 0.5rem 0;
        text-align: center;
        width: 100%;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 0.25rem 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: #f1f1f1;
        border-radius: 0;
        margin-top: 0.25rem;
    }

    .dropdown-content a {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Enable toggle on mobile */
    }

    .profile-pic {
        float: none;
        display: block;
        margin: 0 auto 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .coach-bio, .safety-diver-bio {
        padding: 0.5rem;
    }

    /* Rate Packages Mobile */
    .rate-packages-container {
        flex-direction: column;
        align-items: center;
    }

    .rate-package-box {
        min-width: 90%;
        max-width: 90%;
    }

    /* Hero image adjustments */
    .hero-full-width {
        overflow-x: hidden;
    }

    .hero-image {
        height: 250px;
        width: 100%;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    /* Hamburger Menu Mobile Styles */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        padding: 10px 20px;
        width: 100%;
        display: block;
    }
}