/**
 * Orekonect Marketplace - Redesigned Header
 * Modern Minimalist. Clean. Professional.
 */

:root {
    /* Colors */
    --primary: #1F7A4D;
    --primary-dark: #165E3F;
    --primary-light: #2d9959;
    --secondary: #F57C1F;
    --secondary-dark: #E86B0C;
    
    /* Neutral */
    --text-dark: #111827;
    --text-main: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    
    /* Borders & shadows */
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --gap: 1rem;
    --gap-sm: 0.5rem;
    --gap-lg: 1.5rem;
    
    /* Transitions */
    --transition: 200ms ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* =====================================
   TOP CONTACT BAR
   ===================================== */
.top-contact-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 0.75rem 0;
    color: white;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.contact-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.contact-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition);
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-icon {
    font-size: 1rem;
}

.contact-divider {
    color: rgba(255, 255, 255, 0.3);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.whatsapp-link:hover {
    background: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* =====================================
   MAIN HEADER
   ===================================== */
.site-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    justify-content: space-between;
}

/* Header Left: Logo & Categories */
.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.4rem;
    white-space: nowrap;
    transition: all var(--transition);
    text-decoration: none;
}

.site-logo:hover {
    color: var(--primary-dark);
}

.logo-emoji {
    font-size: 1.8rem;
    display: inline-block;
}

.logo-name {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.categories-menu {
    display: flex;
    gap: var(--gap);
    list-style: none;
}

.cat-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.cat-link:hover {
    color: var(--primary);
    background: rgba(31, 122, 77, 0.1);
}

.cat-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.cat-link:hover::after {
    transform: scaleX(1);
}

/* Search Bar */
.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.65rem 1.2rem;
    transition: all var(--transition);
    max-width: 600px;
}

.search-bar:focus-within {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    flex-shrink: 0;
}

.search-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Header Right: Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--gap);
    flex-shrink: 0;
}

/* Icon Buttons */
.icon-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 0.5rem;
    transition: all var(--transition);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--bg-light);
}

.icon-btn .icon {
    display: flex;
    align-items: center;
}

.icon-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

/* Text Buttons */
.btn-link {
    padding: 0.65rem 1.4rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    background: transparent;
}

.btn-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(31, 122, 77, 0.05);
}

.btn-primary {
    padding: 0.65rem 1.4rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(245, 124, 31, 0.25);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 124, 31, 0.35);
}

/* User Account */
.user-account-wrapper {
    position: relative;
}

.user-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.account-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all var(--transition);
    font-weight: 500;
    border-left: 4px solid transparent;
}

.account-item:hover {
    background: var(--bg-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.account-item.highlight {
    color: var(--secondary);
}

.account-item.highlight:hover {
    background: rgba(245, 124, 31, 0.1);
    border-left-color: var(--secondary);
}

.account-item.danger {
    color: #ef4444;
}

.account-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.account-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
    border: none;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =====================================
   MESSAGES & ALERTS
   ===================================== */
.message-banner {
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 5px solid;
    font-weight: 500;
}

.alert-success .banner-content {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left-color: #10b981;
}

.alert-error .banner-content {
    background: rgba(239, 68, 68, 0.1);
    color: #7f1d1d;
    border-left-color: #ef4444;
}

.alert-warning .banner-content {
    background: rgba(245, 158, 11, 0.1);
    color: #78350f;
    border-left-color: #f59e0b;
}

.alert-info .banner-content {
    background: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    border-left-color: #3b82f6;
}

.banner-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: inherit;
    opacity: 0.6;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.banner-close:hover {
    opacity: 1;
}

/* =====================================
   PAGE CONTENT
   ===================================== */
.page-content {
    min-height: 60vh;
    padding: 2rem 0;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */
@media (max-width: 1024px) {
    .header-left {
        gap: 1.5rem;
    }

    .categories-menu {
        gap: 0.5rem;
    }

    .cat-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .search-bar {
        max-width: 400px;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        gap: var(--gap);
    }

    .header-left {
        gap: 1rem;
    }

    .site-logo {
        font-size: 1.1rem;
    }

    .logo-name {
        display: none;
    }

    .categories-menu {
        display: none;
    }

    .search-bar {
        max-width: none;
        flex: 1;
    }

    .btn-link {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-right {
        gap: 0.5rem;
    }

    .hero {
        height: 550px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-search {
        flex-direction: row;
        gap: 0.5rem;
        max-width: 500px;
    }

    .hero-search-input {
        flex: 1;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .hero-search-btn {
        padding: 0.8rem 1.5rem;
        min-width: 120px;
    }

    .hero-controls {
        padding: 0 1.5rem;
        justify-content: space-between;
    }

    .hero-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .hero-dots {
        bottom: 2rem;
        gap: 0.6rem;
    }

    .dot {
        width: 11px;
        height: 11px;
    }
}

@media (max-width: 600px) {
    .contact-items {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .contact-link:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .contact-items {
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .whatsapp-link {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .site-header {
        padding: 0.75rem 0;
    }

    .site-header .container {
        gap: 0.5rem;
    }

    .header-left {
        gap: 0.5rem;
    }

    .site-logo {
        font-size: 1rem;
    }

    .hero {
        height: 1000px;
        padding-top: 0;
    }

    .hero-content {
        padding-top: 1rem;
    }

    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        font-weight: 700;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
        display: none;
    }

    .hero-search {
        flex-direction: row;
        gap: 0.2rem;
        max-width: 80%;
        width: 100%;
    }

    .hero-search-input {
        flex: 1;
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        background: rgba(255, 255, 255, 0.93);
        min-height: 32px;
    }

    .hero-search-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.65rem;
        min-width: 65px;
        white-space: nowrap;
    }

    .hero-controls {
        padding: 0 0.5rem;
    }

    .hero-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hero-dots {
        bottom: 1.2rem;
        gap: 0.4rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

    .search-input {
        font-size: 0.85rem;
    }

    .icon-btn {
        font-size: 1.2rem;
        padding: 0.4rem;
    }

    .btn-primary {
        padding: 0.5rem 1.1rem;
        font-size: 0.85rem;
    }

    .account-dropdown {
        min-width: 180px;
    }

    .account-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

/* =====================================
   HOMEPAGE HERO SECTION WITH IMAGE CAROUSEL
   ===================================== */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Image carousel animation fallback */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 10s; }
.hero-slide:nth-child(3) { animation-delay: 20s; }
.hero-slide:nth-child(4) { animation-delay: 30s; }
.hero-slide:nth-child(5) { animation-delay: 40s; }

@keyframes fadeSlide {
    0%, 10% { opacity: 1; }
    20%, 100% { opacity: 0; }
}

/* Hero Overlay - darkens images for better text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0.5;
}

/* Carousel Navigation Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-btn {
    background: rgba(31, 122, 77, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
}

.hero-btn:hover {
    background: rgba(31, 122, 77, 0.95);
    transform: scale(1.12);
}

.hero-btn:active {
    transform: scale(0.95);
}

/* Slide Indicators (Dots) */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background: white;
    transform: scale(1.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding-top: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-search {
    display: flex;
    gap: 0.5rem;
    max-width: 550px;
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    flex-direction: row;
    margin: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    min-height: 45px;
}

.hero-search-input::placeholder {
    color: var(--text-light);
}

.hero-search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 110px;
    font-size: 0.95rem;
}

.hero-search-btn:hover {
    background: var(--primary-dark);
}

/* =====================================
   CATEGORIES SECTION
   ===================================== */
.categories-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(31, 122, 77, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.categories-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 124, 31, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.section-header {
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.category-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: left 0.4s ease;
    opacity: 0.05;
    z-index: -1;
}

.category-card:hover .category-card-inner {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(31, 122, 77, 0.02) 0%, rgba(245, 124, 31, 0.02) 100%);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(31, 122, 77, 0.12);
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.15) rotateZ(5deg);
    background: var(--primary);
}

.category-card:hover .category-icon {
    transform: scale(1) rotateZ(-5deg);
}

.category-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.category-icon {
    font-size: 2.5rem;
    transition: all 0.4s ease;
    display: block;
}

.category-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.category-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 400;
}

/* =====================================
   LISTINGS SECTIONS
   ===================================== */
.listings-section,
.featured-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: var(--primary-dark);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.listing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.listing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.listing-image-link {
    display: block;
    overflow: hidden;
    height: 200px;
}

.listing-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-light);
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--bg-light);
}

.listing-info {
    padding: 1rem;
}

.listing-title {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.listing-title:hover {
    color: var(--primary);
}

.listing-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.listing-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.listing-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.call-btn {
    color: var(--primary);
    border-color: var(--primary);
}

.call-btn:hover {
    background: var(--primary);
    color: white;
}

.whatsapp-btn {
    color: #25D366;
    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: white;
}

/* =====================================
   CTA SECTION
   ===================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 3rem;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 124, 31, 0.4);
}

/* =====================================
   RESPONSIVE HOMEPAGE
   ===================================== */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card-inner {
        padding: 1.5rem 1rem;
    }

    .category-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .category-desc {
        font-size: 0.75rem;
    }

    .listings-grid,
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-search {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card-inner {
        padding: 1.5rem 1rem;
    }

    .category-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .category-icon {
        font-size: 1.75rem;
    }

    .category-name {
        font-size: 0.8rem;
    }

    .category-desc {
        font-size: 0.65rem;
        display: none;
    }

    .listings-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .listing-image-link {
        height: 150px;
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   QUICK INFO BAR
   ======================================== */
.info-bar {
    background: linear-gradient(135deg, #0d4a35 0%, var(--primary-dark) 50%, #1a5f42 100%);
    padding: 1rem 0;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border-bottom: 3px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 35px,
        rgba(255, 255, 255, 0.03) 35px,
        rgba(255, 255, 255, 0.03) 70px
    );
    pointer-events: none;
}

.info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.info-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.info-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.info-separator {
    width: 2px;
    height: 1.8rem;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    transition: all var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.wa-icon {
    font-size: 1.15rem;
}

.wa-text {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

/* ========================================
   NAVBAR (MAIN HEADER)
   ======================================== */
.navbar {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    justify-content: space-between;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.35rem;
    transition: all var(--transition);
    position: relative;
    letter-spacing: -0.3px;
}

.navbar-logo:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

.navbar-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition);
    border-radius: 2px;
}

.navbar-logo:hover::after {
    width: 100%;
}

.logo-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-text {
    color: var(--text-dark);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search Bar */
.navbar-search {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: all var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-search:focus-within {
    border-color: var(--primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(31, 122, 77, 0.1);
    background: white;
}

.navbar-search:hover {
    border-color: var(--primary-light);
}

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 0.5rem 0;
}

.search-field::placeholder {
    color: var(--text-light);
    font-weight: 500;
}

.search-icon {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.6rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    flex-shrink: 0;
    border-radius: 6px;
}

.search-icon:hover {
    color: var(--primary);
    background: rgba(31, 122, 77, 0.1);
    transform: scale(1.1);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.login-link {
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    background: transparent;
}

.login-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bg-lighter);
    transition: left var(--transition);
    z-index: -1;
}

.login-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    left: 0;
}

.login-link:hover::before {
    left: 0;
}

.sell-link {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 124, 31, 0.3);
}

.sell-link:hover {
    box-shadow: 0 6px 20px rgba(245, 124, 31, 0.5);
    transform: translateY(-2px);
}

.sell-link:active {
    transform: translateY(0);
}

/* User Menu */
.user-dropdown-wrapper {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
}

.user-btn:hover {
    border-color: var(--primary);
    background: #f0f9f7;
    color: var(--primary);
}

.user-icon {
    font-size: 1.2rem;
}

.toggle-arrow {
    font-size: 0.7rem;
    transition: transform var(--transition);
    color: var(--text-light);
}

.user-btn[aria-expanded="true"] .toggle-arrow {
    transform: scaleY(-1) rotate(0deg);
    color: var(--primary);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.dropdown-link:hover {
    background: var(--bg-lighter);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1rem;
}

.dropdown-link.highlight {
    color: var(--secondary);
}

.dropdown-link.highlight:hover {
    background: rgba(245, 124, 31, 0.08);
    border-left-color: var(--secondary);
}

.dropdown-link.danger {
    color: var(--danger);
}

.dropdown-link.danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
    border: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    transition: all var(--transition);
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger:hover span {
    background: var(--primary);
}

/* ========================================
   MESSAGE ALERTS
   ======================================== */
.message-alert {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 5px solid;
}

.alert-success .alert-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: #065f46;
    border-left-color: var(--success);
}

.alert-error .alert-content {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: #7f1d1d;
    border-left-color: var(--danger);
}

.alert-warning .alert-content {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: #78350f;
    border-left-color: var(--warning);
}

.alert-info .alert-content {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: #1e3a8a;
    border-left-color: var(--info);
}

.alert-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
    flex-shrink: 0;
    padding: 0.25rem;
}

.alert-close:hover {
    opacity: 1;
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.page-content {
    min-height: 60vh;
    padding: var(--space-2xl) 0;
    background: var(--bg-light);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    :root {
        --space-md: 0.75rem;
        --space-lg: 1rem;
        --space-xl: 1.5rem;
    }

    /* Info Bar */
    .info-bar {
        padding: 0.85rem 0;
    }

    .info-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .info-left {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-item {
        padding: 0.3rem 0.5rem;
    }

    .info-separator {
        width: 80%;
        height: 2px;
        margin: 0 auto;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
    }

    .wa-text {
        display: none;
    }

    /* Navbar */
    .navbar-inner {
        gap: var(--space-md);
    }

    .navbar-search {
        display: none;
    }

    .logo-text {
        display: none;
    }

    .navbar-logo {
        font-size: 1.15rem;
    }

    .logo-icon {
        font-size: 1.6rem;
    }

    .hamburger {
        display: flex;
    }

    .login-link {
        display: none;
    }

    .sell-link {
        padding: 0.6rem 1.1rem;
        font-size: 0.9rem;
    }

    .user-dropdown-menu {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 0.9375rem;
        --space-md: 0.5rem;
        --space-lg: 0.75rem;
    }

    /* Info Bar */
    .info-bar {
        padding: 0.7rem 0;
        font-size: 0.8rem;
    }

    .info-item {
        padding: 0.25rem 0.4rem;
        gap: 0.3rem;
    }

    .info-icon {
        font-size: 1rem;
    }

    .info-text {
        font-size: 0.8rem;
    }

    .info-separator {
        width: 70%;
        height: 1px;
    }

    .whatsapp-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .wa-icon {
        font-size: 1rem;
    }

    /* Navbar */
    .navbar {
        padding: 0.65rem 0;
    }

    .navbar-inner {
        gap: 0.5rem;
    }

    .navbar-logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    .sell-link {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }

    .user-btn {
        padding: 0.5rem 0.65rem;
        font-size: 0.85rem;
    }

    .hamburger {
        padding: 0.4rem;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .user-dropdown-menu {
        min-width: 160px;
    }

    .dropdown-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Alerts */
    .alert-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .alert-close {
        align-self: flex-end;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0d1419 100%);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--secondary);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(31, 122, 77, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.3rem;
}

.footer-logo .logo-emoji {
    font-size: 1.8rem;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(245, 124, 31, 0.3);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
    color: white;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    border-radius: 2px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.9rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-list a:hover::before {
    content: '?';
    display: inline-block;
    margin-right: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        margin-bottom: 0.8rem;
    }

    .footer-logo .logo-emoji {
        font-size: 1.5rem;
    }

    .footer-logo .logo-text {
        font-size: 1.1rem;
    }

    .footer-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .copyright {
        font-size: 0.85rem;
    }

    .footer-legal {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Main Content Area */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Text Utilities */
.text-danger {
    color: #ef4444 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-info {
    color: #3b82f6 !important;
}

/* Button Utilities */
.btn {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(31, 122, 77, 0.05);
}

/* Alert Styling */
.alert {
    width: 100%;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #78350f;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #dbeafe;
    color: #1e3a8a;
    border-left: 4px solid #3b82f6;
}

.alert > div {
    padding: 1rem 1.2rem;
    border-radius: 6px;
}

/* Main Content Padding */
.main-content {
    padding: 0;
}

    /* File ends here */
