/* CSS Variables & Reset */
:root {
    --primary: #2ECC71;
    --primary-dark: #27AE60;
    --secondary: #2C3E50;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary { color: var(--primary); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo i { font-size: 1.8rem; }

.navbar .nav-menu {
    display: flex;
    gap: 30px;
}

.navbar .nav-menu li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.navbar .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar .nav-menu li a:hover::after,
.navbar .nav-menu li a.active::after {
    width: 100%;
}

.navbar .nav-menu li a.active { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    width: 100%;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: var(--gray-light);
    color: var(--primary);
}

.dropdown-menu li a::after { display: none; }

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Common */
.section { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    group:hover;
}

.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: scale(1.1); }

.product-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-content {
    padding: 25px;
    text-align: center;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Features Range */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    background: var(--light);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.feature-box:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon,
.feature-box:hover h3,
.feature-box:hover p {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info-panel {
    background: var(--secondary);
    color: var(--white);
    padding: 50px;
}

.contact-info-panel h3 { color: var(--white); margin-bottom: 30px; font-size: 2rem;}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 { color: var(--white); margin-bottom: 5px; font-size: 1.1rem; }
.info-text p { color: rgba(255,255,255,0.7); }

.contact-form-panel { padding: 50px; }
.form-group { margin-bottom: 25px; }

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

textarea.form-control { height: 150px; resize: vertical; }

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(46, 62, 80, 0.9), rgba(46, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1592982537447-6f2334b07fb1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    text-align: center;
    color: var(--white);
}

.page-title { font-size: 3rem; margin-bottom: 10px; color: var(--white); }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--primary); }

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 { color: var(--white); margin-bottom: 20px; display:flex; align-items:center; gap:5px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
.footer-col p { margin-bottom: 20px; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.contact-info li { display: flex; gap: 10px; align-items: flex-start; }
.contact-info li i { font-size: 1.2rem; color: var(--primary); margin-top: 3px;}

.footer-bottom {
    background: rgba(0,0,0,0.5);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }
    .navbar.active { display: block; }
    .navbar .nav-menu { flex-direction: column; gap: 15px; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; transform: none; display: none; padding-left: 20px;}
    .dropdown:hover .dropdown-menu { display: block; }
    .menu-toggle { display: block; }
    .hidden-mobile { display: none; }
    
    .hero h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
}
