/*
Theme Name: Omari - Driving School
Theme URI: https://www.omaridrivingschool.co.uk
Author: Adam Kozlowski
Author URI: https://abkozlowski.com
Description: Omari Driving School with Gutenberg blocks
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omari-driving-school
*/

/* CSS Variables */
:root {
    --primary-color: #fb0003;
    --secondary-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.2);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Top Bar */
.tt-header-top {
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 3rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tt-header-top address {
    font-style: normal;
    margin: 0;
}

.tt-box-location a,
.tt-box-phone a,
.tt-box-email a,
.tt-box-time {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.tt-box-location a:hover,
.tt-box-phone a:hover,
.tt-box-email a:hover {
    color: var(--primary-color);
}

.tt-box-location i,
.tt-box-phone i,
.tt-box-email i,
.tt-box-time i {
    font-size: 1rem;
}

/* Icon placeholders - using emojis for contact info */
.icon-placeholder-for-map::before {
    content: "📍";
    font-style: normal;
}

.icon-phone-call::before {
    content: "📞";
    font-style: normal;
}

.icon-interface::before {
    content: "✉️";
    font-style: normal;
}

.icon-clock::before {
    content: "🕐";
    font-style: normal;
}

.tt-social-icon {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.tt-social-icon li {
    margin: 0;
}

.tt-social-icon a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.tt-social-icon a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.tt-social-icon a svg {
    display: block;
}

/* Header & Navigation */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.site-title {
    display: flex;
    align-items: center;
}

.site-title a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    transition: var(--transition);
}

.custom-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header-red {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-red:hover {
    background: #d90002;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 0, 3, 0.3);
}

.btn-header-black {
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-black:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

/* Hero Block */
.hero-block {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(232 26 26 / 90%) 0%, rgb(0 0 0 / 85%) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Block */
.stats-block {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Courses Block */
.courses-block {
    padding: 5rem 2rem;
    background: white;
}

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

.course-card-block {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.course-card-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.course-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-card-content {
    padding: 2rem;
}

.course-hours {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.course-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.course-card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.course-price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.course-card-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-card-buttons .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Reviews Block */
.reviews-block {
    padding: 5rem 2rem;
    background: var(--bg-light);
    overflow: hidden;
}

.reviews-animated-container {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.reviews-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation-duration: 35s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.reviews-column-up {
    animation-name: scrollUp;
}

.reviews-column-down {
    animation-name: scrollDown;
}

.reviews-column:hover {
    animation-play-state: paused;
}

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

.review-card-block {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    flex-shrink: 0;
}

.review-card-block:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars .star {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.review-content {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.review-author-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Process Block */
.process-block {
    padding: 5rem 2rem;
    background: white;
}

.process-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.process-step:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    white-space: nowrap;
    height: fit-content;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tt-header-top {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
    
    .custom-logo {
        max-height: 45px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-header-red,
    .btn-header-black {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .courses-grid-block,
    .reviews-grid-block,
    .courses-grid,
    .reviews-grid,
    .passers-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-animated-container,
    .passengers-gallery-container {
        height: 500px;
        gap: 1rem;
    }
    
    .reviews-column,
    .passengers-column {
        gap: 1rem;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2,
    .section-title {
        font-size: 2rem;
    }
    
    .reviews-section,
    .courses-section,
    .passers-section {
        padding: 3rem 1rem;
    }
}

/* Review Logo Section Block */
.review-logos-block {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.review-logos-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.review-logos-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.review-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.review-logo-item {
    flex: 0 1 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-logo-item img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.review-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .review-logos-grid {
        gap: 2rem;
    }
    
    .review-logo-item {
        flex: 0 1 120px;
        height: 60px;
    }
    
    .review-logos-title {
        font-size: 2rem;
    }
    
    .review-logos-subtitle {
        font-size: 1rem;
    }
}

/* Passengers Gallery Block */
.passengers-gallery-block {
    padding: 5rem 2rem;
    background: var(--bg-light);
    overflow: hidden;
}

.passengers-gallery-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.passengers-gallery-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.passengers-gallery-container {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.passengers-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.passengers-column-up {
    animation-name: scrollUp;
}

.passengers-column-down {
    animation-name: scrollDown;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

.passengers-column:hover {
    animation-play-state: paused;
}

.passenger-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    flex-shrink: 0;
}

.passenger-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.passenger-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.passenger-info {
    padding: 1.5rem;
    text-align: center;
}

.passenger-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.passenger-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .passengers-gallery-container {
        height: 500px;
        gap: 1rem;
    }
    
    .passengers-column {
        gap: 1rem;
    }
    
    .passenger-card img {
        height: 220px;
    }
    
    .passenger-info {
        padding: 1rem;
    }
    
    .passengers-gallery-title {
        font-size: 2rem;
    }
    
    .passengers-gallery-subtitle {
        font-size: 1rem;
    }
}

/* Reasons Why Block */
.reasons-why-block {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
}

.reasons-why-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.reasons-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    transition: var(--transition);
}

.reason-item:hover {
    transform: translateX(10px);
}

.reason-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.reason-red .reason-bullet {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(251, 0, 3, 0.3);
}

.reason-black .reason-bullet {
    background: var(--text-dark);
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.3);
}

.reason-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

@media (max-width: 768px) {
    .reasons-why-title {
        font-size: 2rem;
    }
    
    .reason-text {
        font-size: 1.1rem;
    }
    
    .reasons-why-block {
        padding: 3rem 1rem;
    }
}

/* Front Page Template Styles */
.hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(251, 0, 3, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-banner p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.reviews-section,
.courses-section,
.passers-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-section {
    background: var(--bg-light);
}

.courses-section {
    background: white;
}

.passers-section {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-grid,
.courses-grid,
.passers-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.passers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.course-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.course-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.passer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.passer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.passer-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.passer-info {
    padding: 1.5rem;
    text-align: center;
}

.passer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.passer-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* WordPress Block Alignments */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
