/*
Theme Name: Spanish Tutor Theme
Theme URI: https://example.com/
Author: Your Name
Description: A minimal custom theme for a Spanish tutoring & translation service.
Version: 1.0
Text Domain: spanish-tutor-theme
*/

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

body {
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

p, li {
    line-height: 1.6;
}

.section, .section-alt {
    padding: 60px 20px;
}

.container {
    padding: 30px 20px;
}

article {
    margin-bottom: 40px;
}

a {
    color: #C62828;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

.button, .wp-block-button__link {
    background: #C62828;
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, transform 0.1s ease;
}

.button:hover, .wp-block-button__link:hover {
    background: #A61F1F;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .section, .section-alt {
        padding: 40px 15px;
    }
}


body {
    margin: 0;
    background-color: #F7F4EF; /* soft warm grey */
    color: #333333; /* dark readable text */
}

header {
    background: #C62828; /* primary red */
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 5px solid #FFB300; /* warm gold accent */
}
nav a { color:white; margin:0 10px; text-decoration:none; font-weight:bold;}
footer { background:#333; color:white; text-align:center; padding:20px; margin-top:40px;}
.container { max-width:900px; margin:0 auto; padding:20px;}

.button, .wp-block-button__link {
    background: #C62828;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.button:hover, .wp-block-button__link:hover {
    background: #A61F1F; /* darker red */
}

.accent {
    color: #1565C0; /* Mediterranean blue */
}

.highlight {
    background: #FFB30022; /* translucent gold */
    padding: 3px 6px;
}

.section {
    padding: 40px 20px;
    margin-bottom: 30px;
}

.section-alt {
    background: #FFFFFF;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-left: 6px solid #FFB300; /* subtle Spanish highlight */
}

img {
    border-radius: 6px;
}

.hero {
    background: url('https://images.unsplash.com/photo-1504973960431-4cebe9d73c0f') center/cover no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: white;
    border-bottom: 5px solid #FFB300;
}

.hero-inner {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.45); /* readable overlay */
    padding: 20px;
    border-radius: 8px;
}

.hero-btn {
    margin-top: 20px;
    font-size: 1.1rem;
}

.columns {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.col {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid #C62828;
}


@media (max-width: 768px) {

    .hero {
        min-height: 250px;
    }

    .hero-inner {
        padding: 15px;
    }

    .columns {
        flex-direction: column;
    }

    .col {
        margin-bottom: 20px;
    }

    nav a {
        display: inline-block;
        padding: 8px 0;
        margin: 0 5px;
    }

    header {
        padding: 20px 10px;
    }

    .container {
        padding: 15px;
    }
}
