/**
 * GCB Website Production Patterns
 * Based on actual GCB Bank website styling approach
 * Professional, subtle, and optimized for readability
 */

/* ========================================
   PRODUCTION WEBSITE PATTERNS
======================================== */

/* Main Website Background - Very Subtle */
.gcb-website-bg {
    position: relative;
    background: #FFFFFF;
/*    overflow: hidden;*/
}

.gcb-website-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top left, rgba(255, 197, 42, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 71, 137, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Section Pattern - Subtle Gradient with Minimal Pattern */
.gcb-hero-pattern {
    position: relative;
    background: linear-gradient(135deg, #004789 0%, #0066cc 100%);
    overflow: hidden;
}

.gcb-hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 140%;
    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' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Section Divider Pattern */
.gcb-section-divider {
    position: relative;
    height: 120px;
    margin: 0;
    overflow: hidden;
}

.gcb-section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='120' viewBox='0 0 100 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L100,0 L100,60 L50,100 L0,60 Z' fill='%23f8f9fa'/%3E%3Cpath d='M0,60 L50,100 L100,60 L100,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* Card Background Pattern - Very Subtle */
.gcb-card-pattern {
    position: relative;
    background: white;
    border: 1px solid rgba(0, 71, 137, 0.1);
    overflow: hidden;
}

.gcb-card-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 197, 42, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Subtle Dot Pattern for Backgrounds */
.gcb-dot-pattern {
    position: relative;
    background-color: #fafafa;
}

.gcb-dot-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 71, 137, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Professional Grid Pattern */
.gcb-grid-pattern {
    position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.gcb-grid-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 71, 137, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 71, 137, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Subtle Wave Pattern for Footers */
.gcb-wave-footer {
    position: relative;
    background: #004789;
    padding-top: 80px;
}

.gcb-wave-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg width='1440' height='80' viewBox='0 0 1440 80' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C480,80 960,0 1440,40 L1440,80 L0,80 Z' fill='%23004789'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    transform: translateY(-79px);
}

/* Subtle Geometric Accent */
.gcb-accent-pattern {
    position: relative;
}

.gcb-accent-pattern::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='150,50 250,150 150,250 50,150' fill='none' stroke='%23FFC52A' stroke-width='1' opacity='0.1'/%3E%3Cpolygon points='150,75 225,150 150,225 75,150' fill='%23FFC52A' opacity='0.02'/%3E%3Cpolygon points='150,100 200,150 150,200 100,150' fill='none' stroke='%23004789' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 0;
}

/* Clean Section Background */
.gcb-clean-section {
    position: relative;
    background: white;
    padding: 60px 0;
}

.gcb-clean-section.alt {
    background: #f8f9fa;
}

.gcb-clean-section.accent {
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 197, 42, 0.02) 100%);
}

/* ========================================
   SPECIFIC PAGE SECTIONS
======================================== */

/* Header Pattern */
.gcb-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.gcb-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFC52A 0%, #004789 100%);
}

/* Content Section with Subtle Pattern */
.gcb-content-section {
    position: relative;
    background: white;
    padding: 40px 0;
}

.gcb-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 197, 42, 0.01) 50%, transparent 100%);
    pointer-events: none;
}

/* Call to Action Section */
.gcb-cta-section {
    position: relative;
    background: linear-gradient(135deg, #FFC52A 0%, #F5A623 100%);
    color: #0A0A0A;
    overflow: hidden;
}

.gcb-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' opacity='0.03'%3E%3Cpolygon points='20,10 30,20 20,30 10,20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px;
    pointer-events: none;
}

/* Business Hours Section */
.gcb-business-hours {
    background: linear-gradient(135deg, #004789 0%, #002f5c 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.gcb-business-hours::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 197, 42, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* ========================================
   UTILITY PATTERNS
======================================== */

/* Ensure content is above patterns */
.gcb-website-bg > *,
.gcb-hero-pattern > *,
.gcb-card-pattern > *,
.gcb-dot-pattern > *,
.gcb-grid-pattern > *,
.gcb-accent-pattern > *,
.gcb-content-section > *,
.gcb-cta-section > *,
.gcb-business-hours > * {
    position: relative;
    z-index: 1;
}

/* Pattern Overlays for Better Readability */
.pattern-overlay-white {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pattern-overlay-blue {
    background: rgba(0, 71, 137, 0.95);
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.pattern-overlay-gold {
    background: rgba(255, 197, 42, 0.95);
    padding: 30px;
    border-radius: 8px;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

@media (max-width: 768px) {
    .gcb-hero-pattern::before {
        right: -50%;
        transform: rotate(-15deg) scale(1.5);
    }

    .gcb-accent-pattern::after {
        width: 200px;
        height: 200px;
    }

    .gcb-wave-footer {
        padding-top: 60px;
    }

    .gcb-wave-footer::before {
        height: 60px;
        transform: translateY(-59px);
    }
}

/* ========================================
   ANIMATION CLASSES
======================================== */

/* Subtle hover effect for cards */
.gcb-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gcb-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Subtle gradient animation */
@keyframes subtleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gcb-animated-gradient {
    background-size: 200% 200%;
    animation: subtleGradient 10s ease infinite;
}
