/* 
   Urban Scout Website Styles
   Minimalist dark grey and red branding
*/

/* Base Styles and Reset */
:root {
    --dark-grey: #2a2a2a;
    --light-grey: #3a3a3a;
    --accent-red: #e63946;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-grey);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 2rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(42, 42, 42, 0.95);
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.logo span {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-red);
}

.download-btn {
    background-color: var(--accent-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

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

.cities-btn {
    background-color: #ff3347;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
}

.cities-btn:hover {
    background-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 71, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--dark-grey) 0%, var(--light-grey) 100%);
}

.hero-content {
    flex: 1;
    padding: 2rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.primary-btn {
    background-color: var(--accent-red);
    color: white;
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondary-btn:hover {
    background-color: var(--text-light);
    color: var(--dark-grey);
    transform: translateY(-2px);
}

/* Cities Showcase Section */
.cities-showcase {
    background: linear-gradient(135deg, #4a90e2 0%, #7fb3d3 100%);
    color: white;
    padding: 2.5rem 2rem; /* Reduced padding */
}

.cities-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cities-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: left;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.cities-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-red);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.cities-cta-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.cities-cta-btn i {
    font-size: 1.3rem;
}

/* Features Section */
.features {
    background-color: var(--light-grey);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--dark-grey);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

/* App Showcase */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    text-align: left;
}

.showcase-list {
    margin-top: 2rem;
}

.showcase-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.showcase-list i {
    color: var(--accent-red);
    margin-right: 1rem;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-carousel {
    max-width: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
    background: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 20px 20px 25px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 0 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent-red);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Pricing Section */
.pricing {
    background-color: var(--light-grey);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--dark-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--accent-red);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-features i {
    margin-right: 1rem;
}

.pricing-features .fa-check {
    color: var(--accent-red);
}

.pricing-features .fa-times {
    color: #999;
}

.pricing-btn {
    display: block;
    text-align: center;
    background-color: var(--accent-red);
    color: white;
    padding: 1rem;
    margin: 1rem 2rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Testimonials */
.testimonials {
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem;
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    text-align: right;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--accent-red);
}

/* Download Section */
.download {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8rem 2rem;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.app-btn {
    display: flex;
    align-items: center;
    background-color: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
}

.app-btn:hover {
    background-color: #333;
}

.app-btn i {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.app-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn small {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Footer */
footer {
    background-color: var(--light-grey);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-red);
}

.footer-column a {
    display: block;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .app-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .showcase-content h2 {
        text-align: center;
    }
    
    .phone-carousel {
        max-width: 450px;
    }
    
    .phone-mockup {
        max-width: 300px;
        height: 500px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-logo {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cities-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .cities-cta-btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .phone-carousel {
        max-width: 320px;
    }
    
    .phone-mockup {
        max-width: 280px;
        height: 450px;
        padding: 15px;
    }
    
    .slide-caption {
        font-size: 0.9rem;
        padding: 15px 15px 20px;
    }
    
    .carousel-indicators {
        gap: 8px;
        margin-top: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}
