/* css/style.css */

/* --- General Reset & Layout --- */
/* css/style.css */
:root {
    --logo-navy: #0b132b;       /* Matches "Meet" text */
    --logo-teal: #00c896;       /* Matches "project" text */
    --logo-blue: #0066ff;       /* Matches the icon royal blue */
    --nz-green: #1a531a; 
    --nz-gold: #f1c40f; 
    --bg-light: #f4f7f6;
    --shadow: 0 10px 20px rgba(0,0,0,0.1);
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- New Zealand Themed Background --- */
.nz-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #87CEEB 0%, #a2d9ff 50%, var(--bg-light) 100%);
    z-index: -2;
    overflow: hidden;
}

/* Stylized Rolling Hills */
.hill {
    position: absolute;
    bottom: -50px;
    width: 150%;
    height: 300px;
    background-color: var(--nz-green);
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
}

.hill-1 { left: -25%; bottom: -100px; background-color: #2e7d32; animation: hillMove 20s infinite linear; }
.hill-2 { right: -25%; bottom: -80px; background-color: #1b5e20; opacity: 0.6; animation: hillMove 25s infinite linear reverse; }

/* Animated Sky Tower */
.skytower {
    position: absolute;
    bottom: 150px;
    right: 10%;
    width: 60px;
    height: 350px;
    background-color: #555; 
    border-radius: 5px 5px 0 0;
    opacity: 0.3;
    z-index: -1;
}
.skytower::before { 
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 100px;
    background-color: #444;
}
.skytower::after { 
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 50px;
    background-color: #666;
    border-radius: 50%;
}

/* Animated Kiwis & Ducks */
.kiwi, .duck {
    position: absolute;
    opacity: 0.6;
    z-index: -1;
}

.kiwi {
    width: 40px;
    height: 30px;
    background-color: #8B4513; 
    border-radius: 50% 50% 20% 20%;
    bottom: 80px;
    animation: kiwiWalk 15s infinite linear;
}
.kiwi::before { 
    content: '';
    position: absolute;
    top: 10px;
    left: -15px;
    width: 20px;
    height: 5px;
    background-color: #CD853F;
    border-radius: 5px;
}

.duck {
    width: 35px;
    height: 25px;
    background-color: #556B2F; 
    border-radius: 50% 50% 10% 10%;
    bottom: 50px;
    left: 20%;
    animation: duckSwim 10s infinite ease-in-out;
}
.duck::after { 
    content: '';
    position: absolute;
    top: -10px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: #228B22;
    border-radius: 50%;
}

/* --- Header / Navbar --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
.navbar-brand {
    font-size: 1.8rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand span { color: var(--nz-green); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Hero Section & Forms --- */
.hero-section {
    margin-top: 120px; 
    padding: 60px 0;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}
.hero-text h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}
.hero-text h1 span { color: var(--nz-gold); }
.hero-text p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.forms-container {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; 
}

.form-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
    backdrop-filter: blur(5px); 
    border: 1px solid rgba(255,255,255,0.3);
}
.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.form-card h2 {
    color: #34495e;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--nz-gold);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- Styling the Alerts --- */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Custom Form Inputs --- */
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #7f8c8d;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box; 
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- Beautiful Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-align: center;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--secondary); }

.btn-success { background-color: var(--success); color: white; }
.btn-success:hover { background-color: #218838; }

/* --- Footer --- */
.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
.main-footer p { margin: 5px 0; opacity: 0.8; }
.main-footer span { color: var(--nz-gold); }

/* --- Animations Keyframes --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hillMove {
    0% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-50px) scaleY(1.05); }
    100% { transform: translateX(0) scaleY(1); }
}
@keyframes kiwiWalk {
    0% { left: -10%; transform: scaleX(1); }
    45% { left: 50%; transform: scaleX(1); }
    50% { left: 50%; transform: scaleX(-1); } 
    95% { left: -10%; transform: scaleX(-1); }
    100% { left: -10%; transform: scaleX(1); }
}
@keyframes duckSwim {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(50px) translateY(-5px) rotate(2deg); }
    50% { transform: translateX(100px) translateY(0) rotate(0deg); }
    75% { transform: translateX(50px) translateY(5px) rotate(-2deg); }
    100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

/* --- NEW ADDITIONS FOR MOBILE, MENUS & FOOTER --- */

/* Responsive Navbar */
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}
.nav-links a:hover {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary);
}
.nav-links a.btn-nav {
    background: var(--logo-teal, #00c896);
    color: white;
}
.nav-links a.btn-nav:hover {
    background: var(--nz-green);
}

/* Features Section (Welcome Page) */
.features-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
}
.feature-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    backdrop-filter: blur(5px);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
}
.feature-box h3 { color: #2c3e50; margin-bottom: 15px; }
.feature-box p { color: #555; font-size: 0.95rem; }

/* Expanded Professional Footer */
.main-footer {
    background-color: #0b132b; /* Matches your logo */
    padding: 50px 0 20px 0;
    margin-top: auto; /* Pushes footer to bottom */
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}
.footer-col { flex: 1 1 200px; }
.footer-col h4 { color: white; margin-bottom: 15px; font-size: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #a0aabf; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--logo-teal, #00c896); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #a0aabf;
    font-size: 0.9rem;
}

/* Mobile Media Queries (Making it fully responsive) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-section { margin-top: 160px; padding: 30px 0; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; padding: 0 15px; }
    .forms-container { flex-direction: column; align-items: center; }
    .form-card { width: 95%; padding: 25px 20px; }
    .footer-grid { flex-direction: column; text-align: center; }
}