/* ========================================
   PLANTING HYDROPONICS — SHARED STYLES
   ======================================== */

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d3436;
    line-height: 1.7;
    background: #fafcfa;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== UTILITY ========== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00b894;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: #1a3c34;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 620px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,184,148,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,184,148,0.45);
}
.btn-outline {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}
.btn-white {
    background: #fff;
    color: #1a3c34;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-outline-dark {
    background: transparent;
    color: #00b894;
    border: 2px solid #00b894;
}
.btn-outline-dark:hover {
    background: #00b894;
    color: #fff;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
}
nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s;
}
nav.scrolled .logo { color: #1a3c34; }
.logo-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    overflow: hidden;
}
.logo-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}
nav.scrolled .nav-links a { color: #636e72; }
.nav-links a:hover { color: #00b894; }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: #00b894;
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,184,148,0.4); }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
nav.scrolled .mobile-toggle span { background: #1a3c34; }

/* ========== FOOTER ========== */
footer {
    background: #0a1f1a;
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    max-width: 300px;
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    padding: 6px 0;
    transition: color 0.3s;
}
.footer-col a:hover { color: #55efc4; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}
.social-links { display: flex; gap: 16px; }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-links a:hover {
    background: #00b894;
    transform: translateY(-2px);
}
.social-links svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.6); }
.social-links a:hover svg { fill: #fff; }

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ========== RESPONSIVE SHARED ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
