/* ===========================
GLOBAL
=========================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
}

/* ===========================
HEADER
=========================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: bold;
    color: #1c7c3a;
    flex-shrink: 0;
}

.logo-img {
    height: 64px;
    width: auto;
}

/* Nav (center) */
nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-grow: 1;
    justify-content: center;
}

/* Larger nav buttons */
nav a {
    text-decoration: none;
    color: #1c7c3a;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 24px;
    border: 1px solid transparent;
    transition: all 0.22s ease;
}

nav a:hover {
    background: #e8f4ec;
    border-color: #1c7c3a;
    color: #166b2e;
    transform: translateY(-1px);
}

/* Right-side actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: flex-end;
}

.username {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    padding-right: 6px;
}

.profile-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.profile-img {
    width: 26px;
    height: 26px;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-outline {
    border: 1px solid #1c7c3a;
    background: #fff;
    color: #1c7c3a;
}

.btn-primary {
    background: #1c7c3a;
    color: #fff;
}

/* ===========================
NOTIFICATIONS BELL
=========================== */
/* Notifications Bell */
.notif-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    color: #1c7c3a;
    font-size: 1.4rem;
}

.bell-icon {
    font-size: 1.4rem;
}

.unread-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #ff3b3b;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ===========================
   HERO SECTION (IMAGE ONLY)
=========================== */

.hero {
    position: relative;

    height: 900px;

    overflow: visible;
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Remove unused hero text styles */

.hero-text,
.hero-title,
.hero-subtitle,
.hero-actions {
    display: none;
}

/* ===========================
SECTIONS
=========================== */
.section {
    padding: 40px;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #1c7c3a;
}

.section-text {
    max-width: 600px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.section-card {
    background: #f5f9f6;
    border-radius: 12px;
    padding: 24px;
    max-width: 520px;
}

/* ===========================
FOOTER
=========================== */
footer {
    padding: 24px 40px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #ddd;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===========================
AUTH PAGES (Login & Signup)
=========================== */
.login-section,
.signup-section {
    max-width: 420px;
    margin: 80px auto;
    padding: 32px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
}

.login-section h2,
.signup-section h2 {
    font-size: 1.8rem;
    color: #1c7c3a;
    margin-bottom: 24px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus {
    border-color: #1c7c3a;
    box-shadow: 0 0 4px rgba(28,124,58,0.3);
    outline: none;
}

label {
    display: block;
    margin: 10px 0;
    font-size: 0.95rem;
    color: #333;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #1c7c3a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: #166b2e;
}

#loginMessage,
#signupMessage {
    margin-top: 10px;
    font-weight: 500;
}

p a {
    color: #1c7c3a;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
/* =========================================
    TABLETS
========================================= */

@media (max-width: 1024px) {

    header {
        padding: 12px 16px;
    }

    nav a {
        font-size: 1rem;
        padding: 6px 10px;
    }

    .section {
        padding: 24px;
    }

    footer {
        padding: 20px;
    }

    /* Keep cards side-by-side on tablets */

    .home-panels {
        max-width: 1000px;
        margin: -500px auto 60px auto;
        padding: 0 20px;
        gap: 20px;
    }

    .home-panel {
        min-height: 220px;
    }
}

/* =========================================
   PHONES
========================================= */

@media (max-width: 768px) {

    .hero-image img {

        object-position: 30% top;
    }

    header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 8px;
    }

    .logo-img {
        height: 34px;
    }

    nav {
        width: 100%;
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.8rem;
        padding: 5px 8px;
        border-radius: 12px;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .username {
        display: none;
    }

    .profile-img {
        width: 24px;
        height: 24px;
    }

    .notif-bell {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .btn {
        min-height: 32px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .section {
        padding: 16px;
    }

    .section-card {
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-text {
        max-width: 100%;
    }

    .login-section,
    .signup-section {
        margin: 16px;
        padding: 18px;
        max-width: none;
    }

    footer {
        text-align: center;
        justify-content: center;
        padding: 12px;
    }

    .home-panels {
        margin: -300px auto 40px auto;
        padding: 0 12px;
        flex-direction: column;
        gap: 16px;
    }

    .home-panel {
        width: 100%;
        min-height: auto;
        box-sizing: border-box;
    }
}

/* =========================================
    SMALL PHONES
========================================= */

@media (max-width: 480px) {

    header {
        padding: 6px;
        gap: 4px;
    }

    .logo-img {
        height: 28px;
    }

    nav {
        gap: 4px;
    }

    nav a {
        font-size: 0.72rem;
        padding: 4px 6px;
    }

    .btn {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .profile-img {
        width: 22px;
        height: 22px;
    }

    .notif-bell {
        width: 28px;
        height: 28px;
    }

    .section {
        padding: 10px;
    }

    .login-section,
    .signup-section {
        margin: 10px;
        padding: 14px;
    }

    .home-panels {
        margin: -180px auto 25px auto;
    }

    .home-panel {
        padding: 18px;
    }

    .home-panel h2 {
        font-size: 1.5rem;
    }

    .home-panels {
    margin: -180px auto 25px auto;
    }
}

/* ===========================
    HOME FLOATING PANELS
=========================== */

.home-panels {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: -850px auto 80px auto;
    padding: 0 30px;
    z-index: 10;
}

.home-panel {
    flex: 1;
    min-height: 240px;
    background: rgba(106, 13, 173, 0.94);
    color: white;
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.30);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-panel:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.35);
}

.home-panel h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: white;
    font-size: 2rem;
}

.home-panel p {
    margin: 0;
    line-height: 1.7;
}

.social-links {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 15px;
}

.social-btn {

    display: inline-block;

    padding: 10px 18px;

    border-radius: 8px;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.2s ease;
}

.social-btn:hover {

    transform: translateY(-2px);
}

.social-btn.facebook {

    background: #1877F2;
}

.social-btn.facebook:hover {

    background: #1666d8;
}

.social-btn.instagram {

    background:
        linear-gradient(
            45deg,
            #f58529,
            #dd2a7b,
            #8134af,
            #515bd4
        );
}

.social-panel {

    text-align: center;
}

.social-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 20px;
}

.social-btn.tiktok {

    background:
        linear-gradient(
            135deg,
            #25F4EE,
            #000000,
            #FE2C55
        );

    color: white;
}

.social-btn.tiktok:hover {

    filter: brightness(1.08);

    transform: translateY(-2px);
}