/* Little Critics Website - Main Stylesheet */

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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 0px 20px 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 800px;
    max-height: 50vh;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.hero h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
}

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

h1, h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.service-card img {
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.service-card h3 a:hover {
    color: var(--accent-color);
}

.service-card p {
    text-align: center;
    flex-grow: 1;
}

/* Reviews Section */
.reviews-list {
    margin-top: 30px;
}

.review-item {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Footer Call-to-Action Section */
.footer-cta {
    background-color: black;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0;
}

.footer-cta p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-cta a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-cta a:hover {
    color: var(--secondary-color);
}

.footer-cta .footer-year {
    margin-top: 30px;
    font-size: 0.95em;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

footer a:hover {
    color: white;
}

/* Video Grid for Reviews Page */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.video-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-card h3 {
    padding: 20px;
    font-size: 1.1em;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
}

.video-card:hover h3 {
    color: var(--secondary-color);
}

/* Editorial Page Styling */

/* Better paragraph spacing */
.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Stylings for testimonial quotes */
blockquote {
    background-color: #f8f9fa;
    border-left: 5px solid var(--secondary-color);
    margin: 30px 0;
    padding: 25px 30px;
    font-style: italic;
}

blockquote p {
    margin: 0;
    color: #555;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Section headings within content */
.content-section h2 {
    margin-top: 50px;
    margin-bottom: 25px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}


/* Strong text emphasis */
.content-section strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Better spacing for lists */
.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        padding: 40px 15px;
    }
    
    .hero-image {
        width: 95%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    blockquote {
        padding: 20px 20px 20px 25px;
        margin: 20px 0;
    }
}

@media (max-width: 640px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 1.4em;
    }

    .hero {
        padding: 60px 20px;
    }

    main {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 20px;
    }
}

.form-container {
  text-align: center;
  margin: 2rem 0;
}

.form-container iframe {
  max-width: 100%;
}
