/* GC Solutions - Custom Styles */

:root {
    --primary-bg: #F6F5ED;
    --primary-color: #375da4; /* Modern blue for trust and professionalism */
    --secondary-color: #4a90e2; /* Lighter blue variation */
    --accent-color: #ff6b6b; /* Coral accent for contrast */
    --gradient-primary: linear-gradient(135deg, #375da4, #4a90e2);
    --gradient-secondary: linear-gradient(135deg, #4a90e2, #7fb3d3);
    --gradient-accent: linear-gradient(135deg, #ff6b6b, #ffa8a8);
    --text-dark: #2C3E50;
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --shadow-light: 0 4px 15px rgba(55, 93, 164, 0.1);
    --shadow-medium: 0 8px 25px rgba(55, 93, 164, 0.2);
    --shadow-heavy: 0 15px 35px rgba(55, 93, 164, 0.3);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-bg);
}

/* Custom Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

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

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

/* Navigation */
.navbar {
    background-color: rgba(246, 245, 237, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 93, 164, 0.8), rgba(74, 144, 226, 0.6), rgba(127, 179, 211, 0.4));
    z-index: -1;
}

/* Fallback background for video */
.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 93, 164, 0.8), rgba(74, 144, 226, 0.6)), 
                url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3') center/cover;
    z-index: -3;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* About Section */
#about {
    background-color: var(--white);
    padding: 100px 0;
}

.about-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.about-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 20px;
}

.about-image-card:hover::before {
    opacity: 0.1;
}

.about-image-card img {
    border-radius: 20px;
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
}

.about-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.about-image-card:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
}

/* Services Section */
#services {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.service-section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
}

.service-section:last-child {
    border-bottom: none;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.service-image:hover::after {
    opacity: 0.15;
}

.service-image img {
    border-radius: 20px;
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
}

.service-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-image:hover img {
    transform: scale(1.08);
}

.service-content {
    padding: 30px;
}

/* Working Process Section */
#process {
    background-color: var(--white);
    padding: 100px 0;
}

.process-card {
    background: linear-gradient(145deg, var(--white), #f8faff);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.6s ease;
}

.process-card:hover::before {
    left: 0;
}

.process-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-card:hover .process-icon::before {
    opacity: 0.3;
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-heavy);
}

.process-icon i {
    color: var(--white) !important;
}

/* Special Offer Section */
.special-offer-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.offer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.offer-background img {
    height: 100%;
    object-fit: cover;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(55, 93, 164, 0.8), rgba(74, 144, 226, 0.7));
    z-index: -1;
}

/* Fallback background for offer section */
.offer-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(55, 93, 164, 0.8)), 
                url('https://images.unsplash.com/photo-1556905055-8f358a7a47b2?ixlib=rb-4.0.3') center/cover;
    z-index: -3;
}

.offer-content {
    animation: fadeInUp 1s ease;
}

.btn-warning {
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ff5252, #ff8a80);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    color: var(--white);
}

/* Printing Techniques Section */
#printing {
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f4ff 50%, var(--primary-bg) 100%);
    padding: 100px 0;
    position: relative;
}

#printing::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23375da4" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

/* Section Decorator */
.section-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.decorator-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 15px;
}

.decorator-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* New Printing Technique Cards */
.printing-technique-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid rgba(55, 93, 164, 0.1);
}

.printing-technique-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.8s ease;
    z-index: 1;
}

.printing-technique-card:hover::before {
    left: 0;
}

.printing-technique-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.technique-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.technique-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.printing-technique-card:hover .technique-image {
    transform: scale(1.1);
}

.technique-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 93, 164, 0.8), rgba(74, 144, 226, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.printing-technique-card:hover .technique-overlay {
    opacity: 1;
}

.technique-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0) rotate(180deg);
    transition: all 0.6s ease;
}

.printing-technique-card:hover .technique-icon-large {
    transform: scale(1) rotate(0deg);
}

.technique-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.technique-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.technique-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.5s ease;
    border-radius: 2px;
}

.printing-technique-card:hover .technique-title::after {
    width: 60px;
}

.technique-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.technique-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(55, 93, 164, 0.1), rgba(74, 144, 226, 0.05));
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(55, 93, 164, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.feature-tag i {
    color: var(--secondary-color);
}

.feature-tag:hover i {
    color: white;
}

/* Call to Action Section */
.cta-wrapper {
    background: linear-gradient(135deg, rgba(55, 93, 164, 0.05), rgba(74, 144, 226, 0.03));
    padding: 50px;
    border-radius: 25px;
    border: 2px solid rgba(55, 93, 164, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(55, 93, 164, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-wrapper .btn {
    position: relative;
    z-index: 1;
    font-weight: 600;
    padding: 15px 30px;
}

/* Contact Section */
#contact {
    background-color: var(--white);
    padding: 100px 0;
}

.contact-item {
    padding: 30px;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.contact-item:hover .contact-icon::after {
    transform: scale(1.3);
    opacity: 0.3;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.contact-icon i {
    color: var(--white) !important;
}

.btn-social {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-content,
    .about-content {
        padding: 20px 0;
    }
    
    .process-card,
    .technique-card {
        margin-bottom: 30px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .special-offer-section {
        padding: 100px 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

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

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

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

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

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.loading:nth-child(1) { animation-delay: 0.1s; }
.loading:nth-child(2) { animation-delay: 0.2s; }
.loading:nth-child(3) { animation-delay: 0.3s; }
