/* Ucel Apre Boya A.S. - Custom Corporate CSS stylesheet */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Variables */
:root {
    --primary-color: #0f2b46;       /* Deep Navy Blue */
    --secondary-color: #1a5ca3;     /* Corporate Blue */
    --accent-color: #3182ce;        /* Bright Blue */
    --light-bg-1: #f8f9fa;          /* Off-white */
    --light-bg-2: #f4f6f9;          /* Light gray */
    --text-dark: #1e293b;           /* Slate 800 */
    --text-muted: #64748b;          /* Slate 500 */
    --border-color: #e2e8f0;        /* Slate 200 */
    --white: #ffffff;
    --success-color: #10b981;       /* Emerald 500 */
    --whatsapp-color: #25d366;      /* WA Green */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg-1);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Header & Navbar */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}
.top-bar a:hover {
    color: var(--white);
}

.navbar-custom {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(15, 43, 70, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition-smooth);
}
.navbar-custom.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(15, 43, 70, 0.08);
}
.navbar-brand img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}
.nav-link-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--secondary-color) !important;
    background-color: rgba(26, 92, 163, 0.05);
}

/* Language Switcher */
.lang-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    transition: var(--transition-smooth);
}
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #071524 0%, #112d4a 50%, #1a4975 100%);
    color: var(--white);
    padding: 140px 0 120px 0;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(49, 130, 206, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
}
.hero-img-wrapper {
    position: relative;
    z-index: 2;
}
.hero-img-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: -1;
}
.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    object-fit: cover;
    width: 100%;
    height: 400px;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(26, 92, 163, 0.3);
}
.btn-primary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 43, 70, 0.4);
}
.btn-outline-custom {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.btn-outline-custom:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-dark-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.btn-dark-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 90px 0;
}
.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Corporate Cards */
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 43, 70, 0.03);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition-smooth);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 43, 70, 0.08);
    border-color: rgba(26, 92, 163, 0.2);
}
.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 92, 163, 0.08);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}
.info-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Service Card List */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 43, 70, 0.03);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(15, 43, 70, 0.08);
    border-color: rgba(26, 92, 163, 0.2);
}
.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.service-card:hover .service-img {
    transform: scale(1.08);
}
.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 43, 70, 0.6));
}
.service-content {
    padding: 30px;
}
.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Why choose us split layout */
.why-item {
    display: flex;
    margin-bottom: 25px;
}
.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(26, 92, 163, 0.08);
    color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 20px;
    font-weight: bold;
}
.why-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.why-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* References Grid */
.reference-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}
.reference-card:hover {
    box-shadow: 0 12px 25px rgba(15, 43, 70, 0.05);
    border-color: var(--secondary-color);
}
.ref-logo {
    max-height: 50px;
    max-width: 100%;
    margin-bottom: 15px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-smooth);
}
.reference-card:hover .ref-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.ref-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}
.ref-ind {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-title {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Page Header (Inner Pages) */
.page-header {
    background: linear-gradient(135deg, #071524 0%, #112d4a 100%);
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 0;
    position: relative;
}
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.page-header .breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}
.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Application Page Specifics */
.tech-bullet-list {
    list-style: none;
    padding-left: 0;
}
.tech-bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}
.tech-bullet-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.gallery-item-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-item-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 43, 70, 0.95) 0%, rgba(15, 43, 70, 0.4) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-item-img {
    transform: scale(1.06);
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.gallery-category {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Color Palette Demo in Application Page */
.color-swatch-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.color-swatch {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 3px solid var(--white);
    transition: var(--transition-smooth);
    position: relative;
}
.color-swatch:hover {
    transform: scale(1.15);
    z-index: 2;
}

/* Quality indicators on Home Page */
.quality-card {
    border-left: 4px solid var(--secondary-color);
    padding: 5px 0 5px 20px;
    margin-bottom: 25px;
}
.quality-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.quality-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Page Form & Card */
.contact-info-card {
    background: var(--light-bg-1);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
}
.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}
.contact-info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(15, 43, 70, 0.05);
}
.contact-info-text h5 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}
.contact-info-text p, .contact-info-text a {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}
.contact-info-text a:hover {
    color: var(--secondary-color);
}

.map-container {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.form-control-custom {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.form-control-custom:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(26, 92, 163, 0.1);
    outline: none;
}
.form-label-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Footer Section */
.footer-section {
    background-color: #071524;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 0.92rem;
}
.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 25px;
}
.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
    transition: var(--transition-smooth);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}
.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}
.footer-contact-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color);
    color: var(--white) !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* 404 Error Page */
.error-page-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utility Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-section {
        padding: 100px 0 80px 0;
    }
    .hero-img-wrapper {
        margin-top: 50px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
@media (max-width: 575px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .contact-form-card, .contact-info-card {
        padding: 25px;
    }
}
