
/* GENERAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #183b4e;
    background: #ffffff;
}

/* NAVIGATION */
header {
    padding: 25px 7%;
    border-bottom: 1px solid #edf1f3;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #123e55;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #365666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #1683a3;
}
.nav-button,
.main-button {
    background: #146b8a;
    color: white;
    padding: 13px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

/* HOMEPAGE */
.hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 60px 35px;
    display: flex;
    align-items: center;
    gap: 65px;

    background-image:
        linear-gradient(rgba(0, 35, 45, 0.55), rgba(0, 35, 45, 0.55)),
        url("images/surf3.jpeg");

    background-size: cover;
    background-position: center;
    min-height: 500px;
    border-radius: 12px;
}

.hero-text {
    flex: 1;
    color: white;
}

.eyebrow {
    color: #1683a3;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

h1 {
    color: #ffffff;
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.description {
    color: white;
    font-size: 17px;
    line-height: 1.8;
    max-width: 430px;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease;
.hero-image img:hover {
    transform: scale(1.03);
}
}

/* FOOTER */
footer {
    background: #f2f7f9;
    padding: 30px;
    text-align: center;
    color: #647985;
}

/* MOBILE DESIGN */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        margin: 40px auto;
        gap: 35px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-image img {
        height: 300px;
    }
}

/* SURF LESSONS SECTION */

.lessons {
    padding: 90px 7%;
    background: #f5f9fb;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: 36px;
    color: #123e55;
    margin: 15px 0;
}

.section-heading > p:last-child {
    color: #647985;
    line-height: 1.7;
}

.lesson-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1150px;
    margin: auto;
}

.lesson-card {
    background: white;
    padding: 35px 28px;
    border-radius: 10px;
    border: 1px solid #e5edf1;
    transition: 0.3s;
}

.lesson-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px #123e5515;
}

.lesson-card h3 {
    color: #123e55;
    font-size: 21px;
    margin-bottom: 18px;
}

.lesson-card p {
    color: #647985;
    line-height: 1.8;
    margin-bottom: 25px;
}

.lesson-card a {
    color: #147895;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .lesson-cards {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 29px;
    }
}

.lesson-card {
    overflow: hidden;
    padding: 0 0 30px;
}

.lesson-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.lesson-card h3,
.lesson-card p,
.lesson-card a {
    margin-left: 25px;
    margin-right: 25px;
}

.lesson-card h3 {
    margin-top: 25px;
}

.lesson-price {
    color: #146b8a;
    font-size: 27px;
    font-weight: bold;
    margin: 22px 25px 5px;
}

.lesson-price span {
    font-size: 13px;
    font-weight: normal;
    color: #647985;
}

.lesson-duration {
    font-size: 13px;
    margin: 5px 25px 20px !important;
    color: #82939c;
}

.lesson-card a {
    display: inline-block;
    margin-top: 5px;
}
footer h3 {
    color: #123e55;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.footer-links a {
    color: #146b8a;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    text-decoration: underline;
}
/* FOOTER */

footer {
    background: #173b46;
    color: white;
    padding: 55px 20px;
    text-align: center;
}

.footer-content h3 {
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-content p {
    color: #cbd8dc;
    margin: 15px 0;
}

.footer-content a {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin: 12px;
    transition: 0.3s;
}

.footer-content a:hover {
    color: #55c5d5;
}
/* BOOKING SECTION */

.booking {
    padding: 90px 20px;
    background: #f4f7f5;
}

.booking-content {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.booking-content h2 {
    font-size: 36px;
    color: #183b46;
    margin-bottom: 15px;
}

.booking-content p {
    color: #777;
    margin-bottom: 25px;
}

#booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#booking-form input,
#booking-form select {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

#booking-form button {
    padding: 17px;
    background: #16869a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

#booking-form button:hover {
    background: #116777;
}
/* Fix website width and overflow */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Improve text spacing */

p {
    overflow-wrap: break-word;
}

/* ABOUT SECTION IMAGE */

.about-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 40px auto;
    overflow: visible;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}
/* ABOUT TEXT DESIGN */

.about-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 30px 65px;
    text-align: center;
}

.about-text h2 {
    font-size: 36px;
    color: #183b4e;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #64727a;
    margin-bottom: 15px;
}

.about-text .eyebrow {
    color: #16869a;
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text a {
    color: #16869a;
    font-weight: bold;
    text-decoration: none;
}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 768px) {

    header {
        padding: 20px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        margin: 20px;
        padding: 25px;
        gap: 30px;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    h1 {
        font-size: 36px;
    }

    .hero-image img {
        height: 280px;
    }
}