/* ==========================================
   Vung Tau Dragonflies Lawn Bowls Club
   Version 1.0
   ========================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
    ),
    url("images/hero.jpg");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,.6);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,.6);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
}


.button {
    display: inline-block;
    text-decoration: none;
    background: white;
    color: #0b6e4f;
    padding: 15px 35px;
    border-radius: 30px;
    margin: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    transform: translateY(-3px);
}

.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.about {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.about h2 {
    color: #0b6e4f;
    margin-bottom: 20px;
}

footer {
    background: #0b6e4f;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
/* ==========================
   Navigation Bar
========================== */

nav {
    background: #0b4f2f;
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;
}

.logo {
     font-size: 28px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: gold;
}
/* ==========================
   WHY FLY WITH THE DRAGONFLIES
========================== */

.features {

    background: #f4f7f6;

    padding: 80px 30px;

    text-align: center;

}

.features h2 {

    color: #0b6e4f;

    font-size: 2.4rem;

    margin-bottom: 50px;

}

.feature-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));

    gap: 30px;

    max-width: 1200px;

    margin: auto;

}

.card {

    background: white;

    padding: 45px;

    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(0,0,0,.10);

    transition: .3s;
display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
}

.card:hover {

   transform: translateY(-12px) scale(1.03);

    border:2px solid #0b6e4f;

    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.card h3 {

    color: #0b6e4f;

    margin-bottom: 20px;
min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b6e4f;
    margin-bottom: 20px;
    transform: scale(1.05);
    transition: 0.3s;
}

.card p {

    color: #555;

    line-height: 1.7;

}


/* ==========================
   Squadron Page Title
========================== */

.page-title {
    text-align: center;
    padding: 80px 20px 40px;
    background: #f4f7f6;
}

.page-title h1 {
    color: #0b6e4f;
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-title p {
    max-width: 800px;
    margin: auto;
    font-size: 1.2rem;
}
/*==========================
 Flight File
===========================*/

.flight-file{

display:flex;

gap:60px;

align-items:center;

max-width:1200px;

margin:80px auto;

padding:40px;

background:white;

border-radius:20px;

box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.flight-photo img{

width:320px;

border-radius:20px;

}

.flight-info{

flex:1;

}

.flight-info h2{

color:#0b6e4f;

margin-bottom:10px;

}

.flight-info h3{

font-size:2rem;

margin-bottom:20px;

}

.flight-info p{

margin-bottom:15px;

font-size:1.1rem;

line-height:1.7;

}
/* =========================
   MEET THE DRAGONFLIES
========================= */

.meet-dragonflies {
    text-align: center;
    padding: 50px 40px;
    background: #f4f6f5;
}

.meet-dragonflies h2 {
    font-size: 42px;
    color: #245c4f;
    margin-bottom: 15px;
}

.meet-intro {
    font-size: 18px;
    color: #555;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.crew-preview {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.crew-member {
    width: 150px;
    text-align: center;
}

.crew-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #245c4f;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.crew-member h3 {
    margin-top: 12px;
    font-size: 16px;
    color: #245c4f;
}

.meet-button {
    display: inline-block;
    margin-top: 0;
}

/* =========================
   SQUADRON PAGE
========================= */

.squadron {
    text-align: center;
    padding: 40px;
}

.squadron h2 {
    font-size: 36px;
    color: #245c4f;
    margin-bottom: 40px;
}

/* AI ALTER EGO PAGE */

.alter-ego-page {
    text-align: center;
    padding: 40px 20px;
}

.alter-ego-poster {
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pilot-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ============================= */
/*       FLIGHT LOG PAGE         */
/* ============================= */

.flight-log {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 30px;
}

.log-entry {
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 30px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.log-entry h2 {
    color: #1f5c4a;
    margin-top: 0;
}

.log-entry h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.log-entry p {
    line-height: 1.7;
}

/* ============================= */
/*       FLIGHT GALLERY          */
/* ============================= */

.gallery {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

.gallery video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   CONTACT HQ
========================= */

.contact-section {
    max-width: 1000px;
    margin: 50px auto 80px;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.contact-card {
    background: white;
    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    text-align: center;

    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.contact-card h2 {
    color: #0b6e4f;

    font-size: 1.8rem;

    margin-bottom: 25px;
}

.contact-card p {
    margin-bottom: 20px;

    font-size: 1.05rem;

    line-height: 1.7;
}

.contact-card a {
    color: #0b6e4f;

    font-weight: bold;

    text-decoration: none;
}

.contact-card a:hover {
    color: #d4a017;

    text-decoration: underline;
}


/* =========================
   MOBILE CONTACT LAYOUT
========================= */

@media (max-width: 700px) {

    .contact-section {
        grid-template-columns: 1fr;

        padding: 0 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

}

/* =========================
   CLUB'S SPECIALS
========================= */

.specials-section {
    max-width: 1100px;
    margin: 50px auto 80px;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.special-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    transition: 0.3s;

    display: flex;
    flex-direction: column;
}

.special-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.special-card img {
    width: 100%;
    height: 360px;

    object-fit: contain;

    display: block;

    background: #f4f7f6;
}

.special-info {
    padding: 30px;

    text-align: center;
}

.special-info h2 {
    color: #0b6e4f;

    font-size: 1.6rem;

    margin-bottom: 15px;
}

.special-info p {
    color: #555;

    line-height: 1.7;

    margin-bottom: 15px;
}

.special-status {
    color: #0b6e4f !important;

    font-weight: bold;

    margin-top: 20px;
}


/* =========================
   SPECIAL ITEM ICONS
========================= */

.special-icon {
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 100px;

    background: #f4f7f6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .specials-section {
        grid-template-columns: 1fr;

        padding: 0 20px;
    }

    .special-card img {
        height: auto;
        max-height: 400px;
    }

}