/* الكود السعودي للزراعة الحضرية - تنسيق الموقع */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    border-radius: 10px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #4CAF50 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #81C784;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background-color: #E55A2B;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2E7D32;
}

.btn-outline {
    background-color: transparent;
    color: #2E7D32;
    border-color: #2E7D32;
}

.btn-outline:hover {
    background-color: #2E7D32;
    color: white;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2E7D32;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: #2E7D32;
    margin: 30px 0 20px 0;
    font-size: 1.5rem;
}

.about-text ul {
    list-style: none;
    padding-right: 20px;
}

.about-text li {
    padding: 10px 0;
    position: relative;
}

.about-text li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    right: -20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    border-radius: 15px;
}

.stat h3 {
    font-size: 3rem;
    color: #2E7D32;
    margin-bottom: 10px;
}

.stat p {
    color: #666;
    font-weight: 600;
}

/* Parts Section */
.parts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.parts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2E7D32;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.part-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-right: 5px solid #4CAF50;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.part-number {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.part-card h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.part-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Tools Section */
.tools {
    padding: 80px 0;
    background-color: white;
}

.tools h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2E7D32;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 3rem;
    color: #2E7D32;
    margin-bottom: 20px;
}

.tool-card h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 25px;
}

/* Quick Access */
.quick-access {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
}

.quick-access h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.quick-link:hover {
    background: rgba(255,255,255,0.2);
}

.quick-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: #1B5E20;
    color: white;
    padding: 50px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #81C784;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #81C784;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.part-card, .tool-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2E7D32;
}
