/*
Theme Name: UTS
Theme URI: http://utsnab.com
Author: Gemini Agent
Description: Корпоративная тема в стиле Un-limited для компании ЮТС.
Version: 1.1
Text Domain: utsnab
*/

:root {
    /* Corporate Blue Palette */
    --uts-blue: #0056b3;        /* Deep Corporate Blue */
    --uts-blue-light: #3b82f6;  /* Lighter Blue for accents */
    --uts-dark: #1f2937;        /* Dark Slate for text */
    --uts-gray: #6b7280;        /* Gray for secondary text */
    --uts-bg-light: #f9fafb;    /* Very light gray background */
    --uts-white: #ffffff;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--uts-white);
    color: var(--uts-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--uts-dark);
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: var(--uts-white) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    color: var(--uts-blue) !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--uts-dark) !important;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Buttons */
.btn-uts {
    background-color: var(--uts-blue);
    color: #fff;
    border: none;
    border-radius: 4px; /* More square/corporate look */
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-uts:hover {
    background-color: #004494;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-uts {
    border: 2px solid var(--uts-blue);
    color: var(--uts-blue);
    font-weight: 600;
}

.btn-outline-uts:hover {
    background-color: var(--uts-blue);
    color: #fff;
}

/* Hero Section */
.hero-section .carousel-item img {
    object-fit: cover;
    height: 650px;
    filter: brightness(0.8); /* Slightly darker for better text contrast */
}

.hero-caption {
    background: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero-section .carousel-item img {
        height: 500px; /* Smaller image height on mobile */
    }
    
    .hero-caption h2 {
        font-size: 2rem !important; /* Smaller title */
        margin-bottom: 0.5rem !important;
    }
    
    .hero-caption p {
        font-size: 1rem !important; /* Smaller text */
        margin-bottom: 1rem !important;
    }
    
    .hero-caption .btn-lg {
        padding: 8px 16px;
        font-size: 1rem;
    }
}

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

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 2rem;
}

/* Decorative underscore matching un-limited style */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--uts-blue);
    margin: 15px auto 0; /* Centered */
}

/* Cards */
.product-card {
    border: 1px solid #e5e7eb;
    border-radius: 0; /* Sharper corners */
    transition: all 0.3s ease;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    border-color: var(--uts-blue-light);
}

.card-img-top {
    border-radius: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Advantage Icons (Circle style) */
.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--uts-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--uts-blue);
    font-size: 2rem;
    transition: 0.3s;
}

.advantage-item:hover .advantage-icon {
    background: var(--uts-blue);
    color: #fff;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--uts-bg-light);
    padding: 3rem;
    border-radius: 0;
    border: 1px solid #e5e7eb;
}

.form-control {
    border-radius: 0;
    padding: 12px;
    border: 1px solid #d1d5db;
}

.form-control:focus {
    border-color: var(--uts-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Footer */
footer {
    background-color: #111827; /* Darker footer */
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: var(--uts-blue-light);
}