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

body {

    font-family: Arial, Helvetica, sans-serif;
    background: #EAF4FB;
    color: #2F3A45;
    line-height: 1.7;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ---------- HEADER ---------- */

html {
    overflow-y: scroll;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #0F4C81;
    color: white;
}

.header-container {

    max-width: 1400px;
    margin: 0 auto;

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

    padding: 14px 30px;

}

.logo h1 {

    font-size: 2rem;

}

nav ul {

    display: flex;
    list-style: none;
    gap: 30px;

}

nav a {

    color: white;
    text-decoration: none;
    font-weight: bold;

}

nav a:hover {

    color: #9fd4ff;

}

/* ---------- HERO ---------- */

.hero {
    height: 450px;

    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url("../photos/hero.jpg");

    background-size: cover;
    background-position: center;

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

    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    color: white;
    max-width: 700px;
    padding: 15px 30px;
}

.hero h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* View Singles button inside hero */

.singles-button {
    position: absolute;

    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 10;

    background-color: #0038A8;
    color: white;

    min-width: 260px;
    text-align: center;

    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.singles-button:hover {
    background-color: #002b80;
    transform: translateX(-50%) translateY(-3px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
}

.hero-buttons .button {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.button {
    display: inline-block;
    background: #1976D2;
    color: white;
    padding: 18px 40px;      /* Larger button */
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;

    border: 3px solid white; /* White border */
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(0,0,0,.30);

    transition: all .25s ease;
}

.button:hover {

    background: #1565C0;
    box-shadow: 0 12px 25px rgba(0,0,0,.40);

}

.secondary-button {
    background: #2E7D32;
}

.secondary-button:hover {
    background: #1B5E20;
}

/* ---------- BETWEEN HERO AND WELCOME BOX ---------- */

.secondary-actions {
    display: flex;
    justify-content: center;
    gap: 25px;

    width: 100%;
    box-sizing: border-box;

    padding: 50px 20px 30px;
}

.secondary-actions .button {
    width: 280px;
    text-align: center;
}

.how-button {
    background-color: #002b80;
    color: white;
}

.signup-button {
    background-color: #002b80;
    color: white;
}


/* ---------- WELCOME ---------- */

.welcome {
    width: calc(100% - 60px);
    max-width: 1400px;

    margin: 0 auto 40px auto;
    padding: 40px;

    box-sizing: border-box;

    background-color: #eaf4ff;
    border: 3px solid #2c7be5;
    border-radius: 10px;
}

.welcome-text {
    width: 100%;
    margin: 0;
    padding: 0;
}

.welcome-text h2 {
    color: #0F4C81;
    margin-bottom: 20px;
}

.welcome-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.welcome-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: block;
    padding: 24px;
    border-radius: 12px;
    background: #F4F9FD;
    border: 1px solid #d9e3ea;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: #0F4C81;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: #0F4C81;
    margin-bottom: 12px;
}

.info-card p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* ---------- FOOTER ---------- */

footer {
    background: #0F4C81;
    color: white;
    text-align: center;
    padding: 25px;
}

/* ---------- GALLERY ---------- */

.gallery-page {
    padding: 60px 8%;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h1 {
    color: #0F4C81;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gallery-header p {
    max-width: 700px;
    margin: auto;
    color: #555;
}

.gallery-section {
    margin-bottom: 60px;
}

.gallery-section h2 {
    color: #0F4C81;
    margin-bottom: 25px;
    border-bottom: 3px solid #0F4C81;
    display: inline-block;
    padding-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #d9e3ea;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.photo-card p {
    text-align: center;
    margin-top: 12px;
    color: #555;
    font-size: 0.95rem;
}

.photo-card img:hover {
    transform: scale(1.03);
}

/* ---------- ACCOUNT PAGE ---------- */

.account-page {

    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 70px 8%;

}


.account-card {

    background: #F4F9FD;

    max-width: 500px;
    width: 100%;

    padding: 40px;

    border: 1px solid #d9e3ea;
    border-radius: 12px;

    box-shadow: 0 6px 18px rgba(0,0,0,.08);

}


.account-card h1 {

    color: #0F4C81;
    margin-bottom: 20px;
    text-align: center;

}


.account-card p {

    margin-bottom: 30px;
    text-align: center;

}


.account-card form {

    display: flex;
    flex-direction: column;
    gap: 12px;

}


.account-card label {

    font-weight: bold;
    color: #0F4C81;

}


.account-card input {

    padding: 12px;

    border: 1px solid #cfd8dc;
    border-radius: 8px;

    font-size: 1rem;

    margin-bottom: 10px;

}


.account-card button {

    margin-top: 20px;

    cursor: pointer;

}
