/* Base */
@import url('base/variables.css');
@import url('base/reset.css');

/* Components */
@import url('components/header.css');
@import url('components/footer.css');
@import url('components/forms.css');

/* Pages */
@import url('pages/home.css');
@import url('pages/about.css');
@import url('pages/services.css');
@import url('pages/gallery.css');

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: var(--space-lg);
}

/* Metallic Buttons with 3D Effect */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Blue Metallic Button */
.btn-primary {
    background: var(--color-primary-metallic);
    color: var(--color-white);
    box-shadow: 
        0 4px 6px rgba(0,102,204,0.4),
        0 1px 3px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 1px solid rgba(0,76,153,0.5);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0,102,204,0.5),
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.5),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    background: linear-gradient(145deg, #5CA3F0 0%, #0077E6 50%, #005CB8 100%);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0,102,204,0.3),
        inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Silver/Metallic Button */
.btn-secondary {
    background: var(--color-metallic);
    color: var(--color-heading);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.15),
        0 1px 3px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -2px 0 rgba(0,0,0,0.1);
    border: 1px solid rgba(136,136,136,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #FFFFFF 0%, #D0D0D0 30%, #B8B8B8 50%, #D8D8D8 70%, #F5F5F5 100%);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -2px 0 rgba(0,0,0,0.1);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

/* Metallic Cards */
.feature-card,
.service-item,
.contact-card,
.contact-info-panel,
.contact-form-panel,
.service-detail-card,
.legal-text {
    background: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 50%, #EBEBEB 100%);
    border: 1px solid rgba(192,192,192,0.5);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.07),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 0 rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.service-item::before,
.contact-card::before,
.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, transparent 100%);
    pointer-events: none;
}

/* Feature Icons — Image-based instead of letter circles */
.feature-icon {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto var(--space-md);
    position: relative;
    border: 2px solid;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.2),
        inset 0 2px 4px rgba(255,255,255,0.5),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    object-fit: cover;
    background-color: #e2e8f0;
}

.feature-icon.blue {
    border-color: #004C99;
    box-shadow: 
        0 4px 8px rgba(0,102,204,0.4),
        inset 0 2px 4px rgba(255,255,255,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.3);
}

.feature-icon.silver {
    border-color: #999999;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.2),
        inset 0 2px 4px rgba(255,255,255,0.5),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

/* Remove the white shine overlay that washes out photos */
.feature-icon::after {
    content: none;
}

/* Form Inputs - Metallic Look */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid #D1D5DB;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 
        0 0 0 3px rgba(0,102,204,0.1),
        inset 0 2px 4px rgba(0,0,0,0.05),
        0 0 0 1px rgba(0,102,204,0.2);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}

/* Page Header - Metallic Blue */
.page-header {
    background: linear-gradient(145deg, #0077E6 0%, #0066CC 40%, #004C99 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
    pointer-events: none;
}

.page-header h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* CTA Section - Metallic */
.cta-section {
    background: linear-gradient(145deg, #0077E6 0%, #0066CC 50%, #004C99 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* Hero Section — Full Image + Text Below */
.hero {
    display: block;
    border-bottom: 1px solid rgba(192,192,192,0.5);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Kill any lingering pseudo-elements */
.hero::before,
.hero::after {
    content: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* Text area styled like your metallic cards */
.hero-text-section {
    background: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 50%, #EBEBEB 100%);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #0066CC 0%, #4D94E6 50%, #0066CC 100%) 1;
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

/* Shine effect on top edge */
.hero-text-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Dark text on light background */
.hero h1 {
    color: #1A202C;
    text-shadow: none;
    margin-bottom: 1rem;
}

.hero .hero-subtitle {
    color: #4A5568;
    text-shadow: none;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.hero-cta {
    margin-top: var(--space-lg);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-text-section {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-cta .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Service Items (Homepage Preview) */
.service-item {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #0066CC 0%, #4D94E6 50%, #0066CC 100%) 1;
    position: relative;
    padding: 1.5rem;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
}

/* Header - Glass/Metallic Effect */
.header {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(240,240,240,0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192,192,192,0.5);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer - Dark Metallic */
.footer {
    background: linear-gradient(145deg, #1A202C 0%, #11161F 100%);
    border-top: 3px solid #0066CC;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}

/* Success Icon - Metallic Green */
.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #34D399 0%, #10B981 50%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 auto var(--space-lg);
    letter-spacing: 2px;
    border: 3px solid #047857;
    box-shadow: 
        0 6px 12px rgba(16,185,129,0.4),
        inset 0 2px 6px rgba(255,255,255,0.5),
        inset 0 -2px 6px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
}

.success-icon::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 15%;
    right: 15%;
    height: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
    border-radius: 50% 50% 0 0;
}

/* Placeholder Icons - Metallic */
.placeholder-icon {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0066CC;
    background: linear-gradient(145deg, #FFFFFF 0%, #F0F0F0 100%);
    border: 2px solid #0066CC;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    display: inline-block;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,1);
    text-shadow: 0 1px 0 rgba(255,255,255,1);
}

/* Feature List with Metallic Check */
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 14px;
    border: solid var(--color-primary);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}
