/* Root Variables */
:root {
    --primary: #FF5722; /* Vibrant orange from logo */
    --secondary: #2196F3; /* Blue from logo */
    --accent: #9C27B0; /* Purple from logo */
    --primary-rgb: 255, 87, 34;
    --secondary-rgb: 33, 150, 243;
    --accent-rgb: 156, 39, 176;
    --success: #4CAF50;
    --info: #00BCD4;
    --warning: #FFC107;
    --danger: #F44336;
    --light: #f8f9fa;
    --dark: #212529;
    --gradient-primary: linear-gradient(135deg, var(--primary), #FF9800);
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #03A9F4);
    --gradient-accent: linear-gradient(135deg, var(--accent), #673AB7);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* Logo Styles */
.navbar-brand img {
    height: 90px !important;
    width: auto !important;
    margin: 5px 0 !important;
}

/* Enhanced Header Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 0 !important;
    background: linear-gradient(to right, #ffffff, #f8f9fa) !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.navbar-brand .fw-bold {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 1.4rem !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0 !important;
}

.nav-link {
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

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

.nav-link:after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--primary) !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: width 0.3s ease !important;
}

.nav-link:hover:after {
    width: 70% !important;
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Section Styling */
section {
    position: relative;
    padding: 80px 0;
}

section.with-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

/* Modern Navbar Styles */
.navbar {
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    border-bottom: 3px solid var(--primary);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    margin-bottom: 5px;
}

.navbar-brand div {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px;
    transition: var(--transition);
    border-radius: 5px;
    margin: 0 2px;
}

.nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.1);
}

/* Removed duplicate navbar-brand img styling */

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.1);
}

.navbar-nav .nav-link.active {
    color: white;
    background: var(--gradient-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.8), rgba(var(--accent-rgb), 0.6));
    z-index: 1;
}

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

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

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

.service-card .card-title {
    font-weight: 700;
    color: var(--dark);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
}

/* Testimonials */
.testimonial-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #212529, #343a40);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 0 30px;
    border-top: 5px solid var(--primary);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

footer .social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.back-to-top:hover::before {
    left: 0;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

/* Social Icons */
.social-icons a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .d-flex.justify-content-center {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}

/* Form Styles */
.contact-form .form-control {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #dee2e6;
    padding: 0.8rem 0.5rem;
    background-color: transparent;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.contact-form label {
    font-weight: 500;
    color: #495057;
}

/* About Page */
.about-img {
    border-radius: 10px;
    overflow: hidden;
}

/* Album Categories */
.album-category {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.album-category img {
    transition: transform 0.5s ease;
}

.album-category:hover img {
    transform: scale(1.05);
}

.album-category .category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

/* Commercial Printing Items */
.printing-item {
    transition: transform 0.3s ease;
}

.printing-item:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

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

.btn-secondary {
    background: var(--gradient-secondary);
    border: none;
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: white;
}

/* Page Headers */
header.bg-primary {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

header.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 30s linear infinite;
}

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

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
