@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a252f;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 37, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(26, 37, 47, 1) !important;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    letter-spacing: 1px;
}
.navbar-brand span { color: #fff; }
.nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 10px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26,37,47,0.9) 0%, rgba(26,37,47,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease forwards;
}
.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease forwards;
}
.btn-custom {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
    animation: fadeInUp 1.4s ease forwards;
}
.btn-custom:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Sections General */
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-box {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    position: relative;
    border-left: 5px solid var(--secondary-color);
}
.about-features i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Projects Portfolio */
.portfolio-filter { margin-bottom: 40px; text-align: center; }
.portfolio-filter button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}
.portfolio-filter button.active, .portfolio-filter button:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}
.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
}
.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.project-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-category {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}
.project-info { padding: 30px 25px; }
.project-info h4 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; }
.project-info p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.read-more:hover { color: var(--secondary-color); }

/* Impact Counter */
.impact-section {
    background: linear-gradient(rgba(26,37,47,0.9), rgba(26,37,47,0.9)), url('https://images.unsplash.com/photo-1593113589914-075568e09151?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    padding: 80px 0;
    color: #fff;
}
.counter-box { text-align: center; padding: 20px; }
.counter-box i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 15px; }
.counter-num { font-size: 3.5rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.counter-text { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; }

/* Footer */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 80px 0 30px;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}
.footer-logo span { color: var(--secondary-color); }
.footer-widget h5 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget h5::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 2px;
    background: var(--secondary-color);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #aaa; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }
.contact-info i { color: var(--secondary-color); width: 25px; }
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

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

/* City Page Specific */
.page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-header::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
}
.page-header-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.page-header-content h1 { font-size: 4rem; text-transform: uppercase; letter-spacing: 2px; }
.project-details-box {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .project-details-box { padding: 30px; margin-top: -40px; }
}
