/* Custom Styles for Glitters & Giggles */

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

/* Colors */
:root {
    --primary-color: #ff6b9d; /* Pink */
    --secondary-color: #ffe66d; /* Yellow */
    --accent-color: #ffe66d; /* Yellow */
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 700;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-logo {
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo {
    border-radius: 8px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Center navbar navigation for web view */
@media (min-width: 992px) {
    .navbar-nav.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.8), rgba(255, 230, 109, 0.8)), url('../img/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0;
    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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    line-height: 1.6;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.6s both;
}

.hero-image {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hero-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,107,157,0.2), rgba(255,230,109,0.2));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffd93d;
    border-color: #ffd93d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 233, 109, 0.4);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.service-card .card-body {
    padding: 2rem;
}

.service-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.25);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4), 0 5px 15px rgba(255, 230, 109, 0.4);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: inline-block;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 60px 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
}

/* Responsive */
@media (max-width: 990px) {
    .hero-section {
        padding: 100px 0;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .hero-image-container {
        display: none;
    }

    .service-card .card-body {
        padding: 1.5rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

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

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section .container {
        margin-left: 10px;
        margin-right: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

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

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

/* Fixed navbar styles */
.navbar.fixed-top {
    z-index: 1030;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 76px; /* Adjust based on navbar height */
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Service detail enhancements - modern layout structure */
.service-nav-bar {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 76px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-hero {
    padding: 4rem 0;
    margin-top: -1px;
}

.service-badge .badge {
    font-size: 0.875rem !important;
}

.hero-content {
    padding-right: 2rem;
}

.service-stats .stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.hero-visual {
    padding-left: 2rem;
}

.service-icon-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 230, 109, 0.1));
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ffe66d);
    border-radius: 2px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 230, 109, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.theme-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(255, 230, 109, 0.05));
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.theme-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
}

.theme-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.theme-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: white;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* Modern Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 80px;
    right: 20px;
    transform: scale(0.8);
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1041;
}

.mobile-nav-overlay.show .mobile-nav-menu {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.mobile-nav-menu .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-nav-menu .nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-nav-close:hover {
    background-color: rgba(0,0,0,0.1);
}

/* QR Code Hover Modal */
.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qr-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.qr-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1051;
}

.qr-modal-overlay.show .qr-modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.qr-modal-content .qr-image {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.qr-modal-content .qr-text {
    text-align: center;
    margin-top: 1rem;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-nav-bar .row {
        flex-direction: column;
        gap: 1rem;
    }

    .service-nav-bar .col-auto {
        text-align: center;
    }

    .service-hero {
        padding: 2rem 0;
    }

    .hero-content, .hero-visual {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .service-icon-hero {
        width: 150px;
        height: 150px;
    }

    .service-icon-hero i {
        font-size: 4rem;
    }

    .features-grid, .themes-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }
}