/* 
* PinupLingua - Styles
* Main stylesheet for the PinupLingua website
*/

:root {
    /* Color variables - based on bootstrap primary */
    --primary-color: #E30613;
    --primary-light: #f9c6c9;
    --primary-dark: #b00510;
    --accent-color: #FFD700;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #212529;
    --text-muted: #6c757d;
}

/* General Styles */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    padding: 3rem;
    border-radius: 0.5rem;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Page Headers */
.page-header {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

/* Feature Icons */
.feature-icon, .course-category-icon, .qualification-icon, .value-icon, .approach-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
}

/* About Page Styles */
.about-image {
    position: relative;
}

.about-accent-image {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 50%;
    z-index: -1;
}

/* Teacher Card Styles */
.teacher-card {
    overflow: hidden;
}

.teacher-img-wrapper {
    height: 300px;
    overflow: hidden;
}

.teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-placeholder {
    width: 100%;
    height: 100%;
}

.teacher-card:hover .teacher-img {
    transform: scale(1.1);
}

.teacher-specialties {
    min-height: 80px;
}

.testimonial-avatar, .social-icon, .social-link, .social-link-contact {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover, .social-icon:hover, .social-link-contact:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.social-link-contact {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    background-color: var(--primary-color);
}

/* Course Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Map Placeholder */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    z-index: 1050;
    display: none;
}

/* Object Fit Utilities */
.object-fit-cover {
    object-fit: cover;
}

/* Hide elements initially to prevent flash before JavaScript loads */
.cookie-consent {
    display: none;
}

/* Policy Content Styling */
.policy-content h2, .policy-content h3, .policy-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p, .policy-content ul, .policy-content ol {
    margin-bottom: 1rem;
}

.policy-content ul, .policy-content ol {
    padding-left: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .about-accent-image {
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 300px;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .about-accent-image {
        display: none;
    }
    
    .teacher-img-wrapper {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 250px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .feature-icon, .course-category-icon, .qualification-icon, .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .cookie-consent, 
    .navbar, 
    .footer, 
    .btn {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none !important;
        color: #000 !important;
    }
}
