/* Am Israel Rides - Website Styles */

:root {
    --primary: #1a5276;
    --primary-dark: #154360;
    --accent: #d4af37;
    --accent-light: #f4d03f;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}

section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 48px;
}

/* About */
.about {
    background: var(--light);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.feature-icon img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Rides */
.rides {
    background: var(--white);
}

.ride-card {
    display: flex;
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s;
}

.ride-card:hover {
    box-shadow: var(--shadow-lg);
}

.next-ride {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--light) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.ride-date {
    background: var(--primary);
    color: var(--white);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.next-ride .ride-date {
    background: var(--accent);
    color: var(--dark);
}

.ride-date .month {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ride-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.ride-details {
    padding: 32px;
    flex: 1;
}

.ride-details h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.ride-time {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.ride-route {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 12px;
}

.ride-description {
    margin-bottom: 16px;
    line-height: 1.7;
}

.ride-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.ride-meta span {
    background: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.next-ride .ride-meta span {
    background: var(--accent);
    color: var(--dark);
}

.next-ride .ride-meta span.badge {
    background: var(--primary);
    color: var(--white);
}

.soft-launch {
    border: 2px dashed var(--accent);
    background: linear-gradient(135deg, var(--white) 0%, #fffbf0 100%);
}

.soft-launch .ride-meta span.badge.unofficial {
    background: var(--text-light);
    color: var(--white);
}

.ride-meta span.badge.official {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.calendar-note {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 32px;
}

.calendar-note p {
    margin: 8px 0;
    color: var(--text-light);
}

/* Join */
.join {
    background: var(--light);
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.join-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.join-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.join-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.join-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.join-button {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.join-button.facebook {
    background: #1877f2;
    color: var(--white);
}

.join-button.whatsapp {
    background: #25d366;
    color: var(--white);
}

.join-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-form input {
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    text-align: center;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.email-form button {
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.email-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Contact */
.contact {
    background: var(--white);
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Gallery */
.gallery {
    background: var(--light);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    padding: 24px 16px 16px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    margin: 0;
    padding: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.social-link:hover {
    transform: scale(1.2);
}

footer p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-note {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .ride-card {
        flex-direction: column;
    }
    
    .ride-date {
        flex-direction: row;
        gap: 8px;
        padding: 16px;
    }
    
    .ride-date .day {
        font-size: 1.8rem;
    }
    
    .features, .join-options {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-item img {
        height: 200px;
    }
}
