@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Neuton:ital,wght@0,200;0,300;0,400;0,700;0,800;1,400&display=swap');

/* These are my base things that I want for each page. */
body {
    font-family: 'Open Sans', sans-serif;
    color: #0d2b50;
    background-color: #e9f4fa;
    text-align: center;
}

/* Making all my titles use Montserrat */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

/* Header and Nav Bar  */
header {
    background-color: #0d2b50;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    border-bottom: 1.5px solid #2e7db5;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Make logo smaller */
.logo {
    width: 200px;
    display: block;
}

nav {
    color: white;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
}

/* Get rid of nav list bullet points */
nav li a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

/* Active status, highlights the page you are on with a different colour and underline */
nav li a.active {
    color: #a8cde0;
    border-bottom: 2px solid #a8cde0;
}

/* Makes it bounce when you hover over and also changes colour and adds a line above */
nav li a:hover {
    color: #a8cde0;
    border-top: 2px solid #a8cde0;
    transform: translateY(-3px); /* Moves it upward smoothly */
}

/* Index Header with Background Image */
.index-header {
    background: black url('../images/mountain_view_1.jpg') no-repeat center;
    background-size: cover;
    padding: 120px 20px 80px 20px;
    margin-bottom: 40px;
    color: white;
}

/* Making the title larger */
.index-header h1 {
    font-size: 70px;
    margin-bottom: 10px;
}

/* Making the subtitle larger and a bit bolder. */
.index-header h2 {
    font-size: 28px;
    font-weight: 400;
}

/* Join Button base stuff */
.button {
    color: white;
    background-color: #c1392b;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

/* Join button hover and bounce */
.button:hover {
    background-color: #2e7db5;
    color: white;
    transform: translateY(-3px);
}

/* History & Hero Image Container */
.index-top-group {
    background-color: #2e7db5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 6px;
}

/* Left side text */
.history {
    flex: 1;
    text-align: left;
}

.history h1 {
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 15px;
    color: white;
}

.history p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Right side image */
.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    border: 3px solid white;
}

/* Card Redirects Section */
.card-redirects {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.card-membership,
.card-chalets {
    flex: 1;
    height: 220px;
    border-radius: 6px;
    text-decoration: none;
    padding: 20px;
    box-sizing: border-box;
    background-color: #333;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all 0.2s ease-in-out;
}

.card-membership h2,
.card-chalets h2 {
    color: white;
    font-size: 22px;
    margin: 0;
    text-shadow: 1px 1px 4px black;
}

.card-membership {
    background-image: url('../images/mountain_view_dark.jpg');
}

.card-chalets {
    background-image: url('../images/maunga_club_cabin.jpg');
}

.card-membership:hover,
.card-chalets:hover {
    transform: translateY(-10px) scale(1.05);
}


/* footer styles */
footer {
    background-color: #2f7fc1; 
    color: #fff; /* text colour white  */
    padding: 16px 24px; /* add padding so that stuff doesnt touch the walls */
}

.footer-top {
    display: flex; /* puts stuff inline */
    align-items: center; /* makes everything centered */
    gap: 16px; /* puts the 16px gap between items */
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer .logo {
    height: 36px;
    width: auto;
}

.social-media {
    display: flex; /* inline */ 
    gap: 8px; /* gap between icons */
}

.social-media a {
    background-color: rgba(255, 255, 255, 0.2); /* White background with 20% opacity */
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center; /* put the icons in the center of the background circle */
    justify-content: center; /* put the icons in the center of the background circle */
    transition: background-color 0.2s ease;
}

.social-media a:hover {
    background-color: rgba(255, 255, 255, 0.35); /* Increase background opactiy by 15% */
}

.contact {
    margin-left: auto; /* Push text to the right */
    text-align: right; /* Push text to the right */
    font-size: 13px;
    display: flex;
    flex-direction: column; /* makes the flex stack instead of inline */
    gap: 2px; /* Gap between the text */
}

.contact p {
    margin: 0;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 12px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

.chalets-header {
    background: black url('../images/maunga_club_cabin.jpg') no-repeat center;
    background-size: cover;
    padding: 120px 20px 80px 20px;
    margin-bottom: 40px;
    color: white;
}

/* Making the title larger */
.chalets-header h1 {
    font-size: 70px;
    margin-bottom: 10px;
}

/* Making the subtitle larger and a bit bolder. */
.chalets-header h2 {
    font-size: 28px;
    font-weight: 400;
}

.chalets {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.kakapo, .pukeko, .kereru {
    background-color: #2e7db5;
    color: white;
    padding: 30px;
    border-radius: 6px;
    text-align: left;
}

.chalets h2 {
    color: white;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
}

.chalet-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.chalet-gallery img {
    border-radius: 4px;
    border: 1px solid white;
    transition: transform 0.2s ease-in-out;
}

.chalet-gallery img:hover {
    transform: translateY(-5px) scale(1.03);
}

.mountain-info {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px 40px;
    background-color: #a8cde0;
    color: #0d2b50;
    border-radius: 4px;
    box-sizing: border-box;
}

.mountain-info h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 32px;
}

.mountain-info ul {
    margin: 0;
    padding-left: 20px;
    list-style-position: inside;
}

.mountain-info li {
    margin-bottom: 10px;
}

.membership-header {
    background: black url('../images/vecteezy_-group-in-snow.jpg') no-repeat center;
    background-size: cover;
    padding: 120px 20px 80px 20px;
    margin-bottom: 40px;
    color: white;
    position: relative;
}

.membership-header h1 {
    font-size: 70px;
    margin-bottom: 10px;
}

.membership-header h2 {
    font-size: 28px;
    font-weight: 400;
}

.membership-header a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.membership-header a:hover {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: underline;
}

.membership-top-grid {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    box-sizing: border-box;
}

.pricing-card,
.benefits-card {
    flex: 1;
    background-color: #0d2b50;
    color: white;
    padding: 30px;
    border-radius: 6px;
    text-align: left;
    box-sizing: border-box;
}

.pricing-card h2,
.benefits-card h2 {
    color: white;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
}

.pricing-card ul,
.benefits-card ul {
    padding-left: 20px;
    list-style-position: inside;
    margin: 0;
}

.pricing-card li,
.benefits-card li {
    color: #a8cde0;
    margin-bottom: 8px;
}

.pricing-card p{
    font-size: 10px;
}


.requirements-card {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: #2e7db5;
    color: white;
    border-radius: 6px;
    box-sizing: border-box;
}

.requirements-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.requirements-card ul {
    padding-left: 20px;
    list-style-position: inside;
    margin: 0;
}

.requirements-card li {
    margin-bottom: 10px;
}

.join-card {
    max-width:900px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: #a8cde0;
    color: #0d2b50;
    border-radius: 6px;
    box-sizing: border-box;
    text-align: left;
}

.join-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 26px;
    color: #0d2b50;
}

.join-card p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.join-card ul {
    padding-left: 20px;
    list-style-position: inside;
    margin: 15px 0;
}

.join-card li {
    margin-bottom: 8px;
}

.join-card a {
    color: #0d2b50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.join-card a:hover {
    color: white;
}

.privacy-policy {
    font-size: 10px;
}

/* Activities info + photos at the bottom */
.membership-bottom {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px 40px 20px;
    box-sizing: border-box;
}

.activities {
    flex: 1;
    background-color: white;
    color: #0d2b50;
    padding: 30px;
    border-radius: 6px;
    text-align: left;
    box-sizing: border-box;
}

.activities h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 26px;
}

.activities ul {
    padding-left: 20px;
    list-style-position: inside;
    margin: 0;
}

.activities li {
    margin-bottom: 8px;
}

.activities-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activities-images img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(13, 43, 80, 0.15);
}