body {
    margin: 0;
    font-family: "Arial Rounded MT Bold", Arial, sans-serif;
    background-color: #9fc5f8;
    color: #0b1f4d;
}

/* Top Header */
.top-header {
    background-color: #1764a8;
    color: white;

    padding: 20px 45px;

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

.top-header h1 {
    font-size: 34px;
    margin: 0;
    font-weight: bold;
}

.kids-badge {
    font-size: 34px;
    font-weight: bold;
    margin: 0;
}

/* Welcome Section */
/* Welcome Section */
.welcome-section { 
    text-align: center; 
    padding: 35px 20px 0; 
} 
 
.welcome-section h2 { 
    font-size: 48px; 
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
} 

.adventure-section { 
    padding: 15px 40px 50px; 
} 
 
.adventure-section h2 { 
    text-align: center; 
    font-size: 36px; 
    margin: 10px 0 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.adventure-card {
    background-color: white;

    padding: 28px 22px;
    border-radius: 24px;

    text-align: center;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);

    transition: transform 0.2s, box-shadow 0.2s;
}

.adventure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.adventure-card h3 {
    font-size: 24px;
    margin-top: 0;
}

.adventure-card p {
    font-size: 17px;
    line-height: 1.5;
}

.adventure-card button,
.adventure-card a button {
    font-size: 17px;
    font-weight: bold;

    padding: 11px 28px;

    background-color: #ffd24a;
    color: #123c7a;

    border: none;
    border-radius: 20px;

    cursor: pointer;
}

.adventure-card button:hover {
    transform: scale(1.05);
}

/* Famous People Page */

.people-intro {
    text-align: center;
    padding: 35px 20px 25px;
}

.people-intro h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

.people-intro p {
    font-size: 18px;
    margin: 0;
}

.people-section {
    padding: 20px 40px;
}

.people-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    max-width: 1000px;
    margin: 0 auto;
}

.person-card {
    background-color: white;
    padding: 28px;
    border-radius: 18px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    transition: transform 0.2s, box-shadow 0.2s;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.person-card h3 {
    font-size: 24px;
    margin-top: 0;
}

.person-card p {
    font-size: 17px;
    line-height: 1.5;
}

.person-card button {
    font-size: 16px;
    font-weight: bold;

    padding: 12px 24px;

    background-color: #ffd54f;
    color: #1f3b64;

    border: none;
    border-radius: 12px;

    cursor: pointer;
}

.back-section {
    text-align: center;
    padding: 30px 20px 50px;
}

.back-section a {
    font-size: 17px;
    font-weight: bold;
    color: #1f5fa8;
    text-decoration: none;
}

.header-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.sun-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 8px;
}

.adventure-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 12px;
}

.choose-icon {
    width: 58px; 
    height: 58px; 
    object-fit: contain; 
    margin: 0;
}

.card-image {
    width: 140px;
    height: 112px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

/* Person Learn More Modal */

.person-modal {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(20, 50, 90, 0.55);

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

    z-index: 1000;
}

.modal-content {
    background-color: white;

    width: 90%;
    max-width: 600px;

    padding: 35px;
    border-radius: 24px;

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

    position: relative;
}

.modal-content h2 {
    font-size: 34px;
    color: #12458c;
    margin-top: 0;
}

.modal-content h3 {
    font-size: 20px;
    color: #1453a0;
    margin-bottom: 6px;
}

.modal-content p {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #222;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 18px;

    background-color: #ffd24a;
    color: #12458c;

    border: none;
    border-radius: 50%;

    width: 38px;
    height: 38px;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;
}

/* Important Events Timeline */

.timeline-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 40px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 30px;
}

/* Blue timeline line */
.timeline::before {
    content: "";
    position: absolute;
    top: 58px;
    left: 10%;
    right: 10%;
    height: 6px;
    background-color: #1453a0;
    border-radius: 10px;
    z-index: 0;
}

.timeline-event {
    width: 25%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.year {
    font-size: 26px;
    font-weight: bold;
    color: #12458c;
    margin-bottom: 10px;
}

.timeline-dot {
    width: 22px;
    height: 22px;
    background-color: #ffd24a;
    border: 5px solid #1453a0;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.event-image {
    width: 230px;
    height: 170px;
    object-fit: cover;

    border-radius: 22px;

    background-color: white;
    padding: 8px;

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.timeline-event h3 {
    font-size: 24px;
    color: #0d2c66;
    margin: 15px 0 8px;
}

.timeline-event p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* Back Button */

.back-button {
    position: absolute;
    top: 130px;
    left: 30px;

    padding: 10px 18px;

    background-color: #fff8e7;
    color: #1453a0;

    border: 2px solid #1453a0;
    border-radius: 25px;

    font-size: 18px;
    font-weight: bold;
    text-decoration: none;

    cursor: pointer;
    z-index: 10;
}

.back-button:hover {
    transform: scale(1.05);
}

#australia-map-container {
    width: 600px;
    max-width: 90%;
}

#australia-map-container svg {
    width: 100%;
    height: auto;
}

#NSW {
    cursor: pointer;
}


/* =========================
   Explore Australia Page
   ========================= */

.australia-page {
    padding: 120px 60px 60px;
    text-align: center;
}

.australia-intro h2 {
    font-size: 48px;
    margin: 0 0 12px;
    color: #0b2d63;
}

.australia-intro p {
    font-size: 22px;
    margin-bottom: 45px;
    color: #163b70;
}


/* Australia Map */

.australia-map-section {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

#australia-map-container {
    width: 600px;
    max-width: 90%;
}

#australia-map-container svg {
    width: 100%;
    height: auto;
}

.australia-map {
    width: 600px;
    max-width: 90%;
    height: auto;
}

/* Australia interactive layout */

.australia-explorer {
    max-width: 1250px;
    margin: 30px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

#australia-map-container {
    width: 100%;
}

#australia-map-container svg {
    width: 100%;
    height: auto;
}


/* State information card */

.state-info-card {
    background: #fffaf0;

    border: 4px solid #1f5da8;
    border-radius: 28px;

    padding: 22px;

    text-align: left;

    box-shadow: 0 8px 0 rgba(31, 93, 168, 0.15);
}

.state-image {
    width: 100%;
    height: 160px;

    object-fit: cover;

    border-radius: 18px;

    margin-bottom: 14px;
}

.state-info-card h2 {
    font-size: 30px;
    color: #0b2d63;

    margin: 0 0 10px;
}

.state-info-card > p {
    font-size: 17px;
    line-height: 1.4;

    color: #163b70;

    margin-bottom: 14px;
}

.state-details {
    margin-top: 14px;

    background: transparent;

    padding: 0;

    font-size: 16px;
    font-weight: bold;

    color: #164f96;
}

.state-details p {
    margin: 7px 0;
    font-size: 16px;
}

.fun-fact {
    margin-top: 14px;

    padding: 12px 16px;

    background: #d9ecff;
    border-radius: 15px;

    line-height: 1.4;
}


/* Australia map colours */

#WA  { fill: #cb9d60; }
#NT  { fill: #d26f60; }
#QLD { fill: #8fd36d; }
#SA  { fill: #e1c775; }
#NSW { fill: #6cafd3; }
#VIC { fill: #b06eda; }
#TAS { fill: #f080a5; }
#ACT { fill: #ebc974; }


/* Temporary card proportion test */

.australia-explorer {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.state-info-card {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px;
}

.state-image {
    height: 130px;
}

.state-info-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.state-info-card > p {
    margin: 0 0 10px;
    line-height: 1.35;
}

.state-details {
    margin-top: 10px;
}

.state-details p {
    margin: 5px 0;
}

.fun-fact {
    margin-top: 10px;
    padding: 10px 14px;
}

/* Exit Kids Mode button */
.exit-kids-button {
    position: absolute;
    top: 140px;
    left: 30px;

    display: inline-block;
    background: #f0d072;
    color: #0b2d63;

    padding: 10px 18px;
    border: 2px solid #0b2d63;
    border-radius: 20px;

    font-size: 16px;
    font-weight: bold;
    text-decoration: none;

    box-shadow: 0 3px 0 rgba(11, 45, 99, 0.15);
    z-index: 10;
}

.exit-kids-button:hover {
    background: #e5c872;
    transform: translateY(-2px);
}

/* =========================
   Kids Search Section
   ========================= */

.kids-search-section {
    max-width: 850px;
    margin: 25px auto 35px;
    padding: 24px 30px;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 24px;
}

.kids-search-section h2 {
    margin: 0 0 8px;

    font-size: 30px;
    color: #0b2d63;
}

.search-subtitle {
    margin: 0 0 18px;

    font-size: 17px;
    color: #163b70;
}


/* Search bar */

.kids-search-box {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    max-width: 650px;
    margin: 0 auto;
}

#kidsSearchInput {
    flex: 1;

    padding: 14px 20px;

    font-family: Arial, sans-serif;
    font-size: 17px;

    color: #0b2d63;
    background-color: white;

    border: 3px solid #1453a0;
    border-radius: 25px;

    outline: none;
}

#kidsSearchInput:focus {
    border-color: #0b2d63;
}

#kidsSearchInput::placeholder {
    color: #7185a3;
}


/* Search button */

#kidsSearchButton {
    padding: 14px 24px;

    border: 2px solid #0b2d63;
    border-radius: 25px;

    background-color: #ffd24a;
    color: #0b2d63;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: transform 0.2s;
}

#kidsSearchButton:hover {
    transform: translateY(-2px);
}


/* Suggested searches */

.search-suggestions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;

    font-size: 15px;
    font-weight: bold;
}

.suggestion-button {
    padding: 7px 14px;

    background-color: white;
    color: #1453a0;

    border: 2px solid #1453a0;
    border-radius: 18px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
}

.suggestion-button:hover {
    background-color: #ffd24a;
}