/* Template Website Styles - Digital Clapz Digital Marketing Agency */

/* CSS Variables */
:root {
    --primary-color: #013220;
    --secondary-color: #f6d273;
    --accent-color: #f6d273;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --gradient-primary: linear-gradient(135deg, #013220 0%, #2d3e3e 100%);
    --gradient-secondary: linear-gradient(135deg, #f6d273 0%, #f0c860 100%);
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Bootstrap Button Variables */
.btn-outline-primary {
    --bs-btn-color: #f6d273;
    --bs-btn-border-color: #f6d273;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #013220;
    --bs-btn-hover-border-color: #013220;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #f6d273;
    --bs-btn-active-border-color: #f6d273;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f6d273;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f6d273;
    --bs-gradient: none;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.text-primary {
    color: #f6d273 !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(13 253 109) !important;
}

/* Top Bar */
.top-bar {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.top-bar-info {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-info:hover {
    color: #ffffff;
}

.top-bar-link {
    color: #cccccc;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.top-bar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navbar.navbar-light {
    background: #f6d273 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar.navbar-light .navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link.active {
    color: white !important;
    background: #013220;
}

/* Dropdown Menu Background */
.navbar.navbar-light .navbar-nav .dropdown-menu {
    background-color: #f6d273;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.navbar.navbar-light .navbar-nav .dropdown-item {
    color: #333333;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.navbar.navbar-light .navbar-nav .dropdown-item:hover {
    background: #013220;
    color: white;
}

.navbar.navbar-light .bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(13 253 109) !important;
}

.navbar.navbar-light .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.navbar.navbar-light .btn-primary:hover {
    background: #f6d273;
    border-color: #013220;
    border: 2px solid #013220;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-image img {
    border-top-left-radius: 150px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: var(--transition);
}

.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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background-color: #f6d273 !important;
    border-color: #f6d273 !important;
    color: #013220 !important;
}

.hero-buttons .btn-outline-primary {
    border-color: #f6d273 !important;
    color: #f6d273 !important;
}

.hero-buttons .btn-primary:hover {
    background-color: #013220 !important;
    border-color: #013220 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

.hero-buttons .btn-outline-primary:hover {
    background-color: #013220 !important;
    border-color: #013220 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

.hero-stats {
    margin-top: 50px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f6d273;
}

.stat-box p {
    margin: 0;
    font-weight: 500;
    color: white;
}

/* About Section */
.about-section {
    background: #417972;
    padding: 80px 0;
}

.about-content h2 {
    color: white !important;
    margin-bottom: 20px;
}

.about-content p {
    color: white !important;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    color: #ffffff !important;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-features .feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.about-features .feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.about-features .feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.about-features .feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.about-features .feature-item:hover {
    background: rgba(246, 210, 115, 0.1);
    transform: translateX(5px);
    color: var(--primary-color);
}

.about-features .feature-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-buttons .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.about-buttons .btn-primary {
    background-color: #f6d273 !important;
    border-color: #f6d273 !important;
    color: #013220 !important;
}

.about-buttons .btn-primary:hover {
background-color: #013220 !important;
border-color: #013220 !important;
color: white !important;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

.about-button.service-card .btn-outline-primary {
background-color: #013220 !important;
border-color: #013220 !important;
color: white !important;
}

.about-button.service-card .btn-outline-primary:hover {
    background: #f6d273 !important;
    border-color: #013220 !important;
    color: #013220 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

.service-card .btn-outline-primary {
    background-color: #013220 !important;
    border-color: #013220 !important;
    color: white !important;
}

.service-card .btn-outline-primary:hover {
    background-color: #f6d273 !important;
    border-color: #013220 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.3);
}

.about-image img {
    border-radius: 15px;
    border-bottom-right-radius: 150px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

/* Services Section */
.services-section {
    background: #013220;
    padding: 80px 0;
}

.services-section h2 {
    color: white !important;
}

.services-section p.lead {
    color: rgba(255, 255, 255, 0.8) !important;
}

.service-card {
    background: #f6d273;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.service-description {
    text-align: left;
    flex-grow: 1;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
    text-align: left;
}

.service-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.service-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-features-list li:last-child {
    border-bottom: none;
}

/* Clients Section */
.clients-section {
    background: #417972;
    padding: 80px 0;
}

.clients-section h2 {
    color: var(--text-dark);
}

.clients-section p.lead {
    color: var(--text-light);
}

.client-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.client-image {
    position: relative;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.client-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 46, 46, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.client-card:hover .client-overlay {
    opacity: 1;
}

.client-overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.client-overlay-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.client-overlay-content p {
    margin-bottom: 15px;
}

/* Testimonials Section */
.reviews-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.reviews-section h2 {
    color: var(--text-dark);
}

.reviews-section p.lead {
    color: var(--text-light);
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.review-header {
    margin-bottom: 20px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-rating i {
    font-size: 1.5rem;
    color: #4285f4;
}

.stars {
    color: #ffc107;
}

.review-content {
    margin-bottom: 20px;
    font-style: italic;
}

.review-content p {
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    background: #ffffff;
    padding: 80px 0;
}

.blog-section h2 {
    color: var(--text-dark);
}

.blog-section p.lead {
    color: var(--text-light);
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post .blog-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background: #417972 !important;
    padding: 80px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(246, 210, 115, 0.25);
}

/* Footer Styles */
footer {
    background: #013220 !important;
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

footer h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

footer .social-links a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #f6d273;
}

footer .list-unstyled li {
    margin-bottom: 10px;
}

footer .list-unstyled a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: #f6d273;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #A6CEBB !important;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 100;
    position: absolute;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-section,
    .clients-section,
    .reviews-section,
    .blog-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .service-card,
    .client-card,
    .review-card,
    .blog-card {
        margin-bottom: 30px;
    }
    
    .stat-box {
        min-height: 100px;
    }
    
    .about-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .about-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

/* Carousel */
.carousel {
    background: #A6CEBB;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-inner {
    padding: 40px 80px;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }

.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }

.py-1 { padding-top: 0.25rem; }
.py-2 { padding-top: 0.5rem; }
.py-3 { padding-top: 1rem; }
.py-4 { padding-top: 1.5rem; }
.py-5 { padding-top: 3rem; }

/* Pricing Section Styles */
.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
}

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

.pricing-card.recommended {
    border-color: #013220;
    box-shadow: 0 0 20px rgba(1, 50, 32, 0.2);
    transform: scale(1.05);
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #013220;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-card h4 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #013220;
    margin-bottom: 15px;
}

.pricing-card h3.plan-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #013220;
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Admin panel specific - smaller price font */
.admin-panel .pricing-card h3.plan-price {
    font-size: 1rem;
}

.pricing-card .badge {
    display: inline-block;
    margin-bottom: 5px;
}

.plan-icon {
    font-size: 3rem;
    color: #f6d273;
    margin-bottom: 15px;
    display: block;
}

.pricing-card.recommended .plan-icon {
    color: #013220;
}

.plan-duration {
    color: #f6d273;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list div {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #495057;
    font-size: 0.9rem;
}

.feature-list div:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, #013220 0%, #2c5f2d 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 50, 32, 0.25);
}

.pricing-card.recommended .btn-primary {
    background: linear-gradient(135deg, #f6d273 0%, #e6c050 100%);
    color: #013220;
}

.pricing-card.recommended .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(246, 210, 115, 0.25);
}
