/* Mamurbaba Website Styles */

/* General Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px;
}

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

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

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

/* Navigation */
.navbar-brand h4 {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-opacity="0.1"/><stop offset="100%" stop-opacity="0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-price {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

.about-image img {
    border-radius: 15px;
}

/* Videos Section */
.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-info {
    padding: 1rem;
}

.video-info h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* News Section */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
}

/* Footer */
footer {
    background: var(--text-color) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 480px) {
    .navbar-brand .navbar-logo {
        height: 50px !important;
        max-width: none !important;
        width: auto !important;
    }

    .hero-section {
        text-align: center;
        min-height: 85vh;
        padding: 0.5rem 0;
        margin-top: 2rem;
    }

    .hero-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 1.5rem;
    }

    .display-4 {
        font-size: 1.1rem !important;
        line-height: 1.05 !important;
        margin-bottom: 0.5rem !important;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }

    .lead {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-section .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.3rem;
        margin-right: 0.2rem;
    }

    .hero-section .btn-lg {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .hero-features {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    .feature-card {
        padding: 0.75rem;
    }

    .feature-card h5 {
        font-size: 0.9rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }

    .feature-card i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) and (min-width: 481px) {
    .navbar-brand .navbar-logo {
        height: 50px !important;
        max-width: none !important;
        width: auto !important;
    }

    .hero-section {
        text-align: center;
        min-height: 90vh;
        padding: 1rem 0;
        margin-top: 1.5rem;
    }

    .hero-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 1.25rem;
    }

    .display-4 {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.75rem !important;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .lead {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }

    .hero-section .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0.4rem;
        margin-right: 0.2rem;
    }

    .hero-section .btn-lg {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }

    .hero-features {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        gap: 1rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-card h5 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) and (min-width: 577px) {
    .navbar-brand .navbar-logo {
        height: 50px !important;
        max-width: none !important;
        width: auto !important;
    }

    .hero-section {
        text-align: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .display-4 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .display-5 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .hero-section .btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
        margin-right: 0.25rem;
    }

    .hero-section .btn-lg {
        font-size: 0.85rem !important;
        padding: 0.45rem 0.9rem !important;
    }

    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 992px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Button styles */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}