/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --primary-dark: #25a25a;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    max-width: 175px;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.search-city-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.search-city-btn:hover {
    background-color: var(--primary-dark);
    color: white !important;
}

.search-city-btn i {
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bg-main.jpeg') no-repeat center center/cover;
    height: 500px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 50px;
    padding: 5px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-box i {
    color: #777;
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 15px 10px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: var(--secondary-color);
}

/* Featured Cities Section */
.featured-cities,
.materials {
    padding: 60px 0;
}

.featured-cities h2,
.materials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2rem;
}

.cities-grid,
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.city-card,
.material-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover,
.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.city-card-img,
.material-card-img {
    height: 150px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.city-card-img i,
.material-card-img i {
    font-size: 3rem;
    color: var(--primary-color);
}

.city-card-content,
.material-card-content {
    padding: 20px;
}

.city-card-content h3,
.material-card-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.city-card-content p,
.material-card-content p {
    color: #666;
    margin-bottom: 15px;
}

.city-card-content a,
.material-card-content a {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.city-card-content a i,
.material-card-content a i {
    margin-left: 5px;
}

/* City card styles */
.city-card-content a i {
    margin-left: 5px;
}

/* Updated city card styles for simplified format */
.featured-cities .city-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-cities .city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.featured-cities .city-card a {
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
}

.featured-cities .city-card a:hover {
    color: #2ecc71;
}

/* Material card styles */
.material-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.material-icon {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.material-icon i {
    font-size: 48px;
    color: #2ecc71;
}

.material-name {
    padding: 15px;
    font-weight: 500;
}

.material-name a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.material-name a:hover {
    color: var(--primary-color);
}

.material-card-content a i {
    margin-left: 5px;
}

.view-all-btn {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--primary-dark);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: bold;
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 15px;
}

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

.footer-section ul li a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* City Page */
.city-header {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.city-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.city-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.recycling-centers {
    padding: 60px 0;
}

.recycling-centers h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2rem;
}

.centers-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.center-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.center-card-content {
    padding: 25px;
    flex: 1;
}

.center-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.5fr;
    gap: 20px;
    align-items: center;
}

.center-info-column {
    display: flex;
    flex-direction: column;
}

.materials-column {
    display: flex;
    flex-direction: column;
}

.button-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.center-info {
    margin-bottom: 20px;
}

.center-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.center-info i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
    margin-top: 4px;
}

.materials-accepted {
    margin-bottom: 20px;
}

.materials-accepted h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.materials-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-tag {
    background-color: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}

.btn-details {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-details:hover {
    background-color: var(--primary-dark);
}

.btn-details i {
    margin-left: 5px;
}

/* Business Page */
.business-header {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0;
}

.business-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.business-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.business-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.business-details {
    padding: 60px 0;
}

.business-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.business-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.business-info-item {
    margin-bottom: 20px;
}

.business-info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.business-info-item p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.business-info-item i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
    margin-top: 4px;
}

.business-hours {
    margin-top: 30px;
}

.business-hours h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.hours-item {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.hours-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.business-sidebar {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.business-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.map-container {
    height: 300px;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.map-container i {
    font-size: 3rem;
    color: #aaa;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info {
    padding-top: 25px;
}

.contact-info i {
    color: var(--dark-color);
    margin-right: 10px;
    min-width: 20px;
}

.contact-info a {
    color: var(--primary-color);
}

/* Materials Page */
.materials-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.materials-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.materials-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.materials-categories {
    padding: 60px 0;
}

.categories-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* About Page */
.about-header {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
}

.about-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-card p {
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .business-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .center-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .button-column {
        grid-column: span 2;
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .materials-column {
        border-top: none;
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .search-box {
        flex-direction: row;
        padding: 5px 10px;
        align-items: center;
    }
    
    .search-box input {
        width: 100%;
        margin-bottom: 0;
        padding: 10px 5px;
        font-size: 14px;
    }
    
    .search-box button {
        width: auto;
        padding: 8px 15px;
        margin-left: 5px;
        white-space: nowrap;
        font-size: 14px;
    }
    
    .hero {
        height: 400px;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .center-card-grid {
        grid-template-columns: 1fr;
    }
    
    .button-column {
        grid-column: 1;
        justify-content: flex-start;
    }
} 