/* 
* PinupMaster - Сантехнические услуги в Баку
* Custom CSS Styles
*/

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #fd7e14;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --body-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --heading-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0b5ed7;
}

.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Feature Icons */
.feature-icon, 
.value-icon, 
.contact-icon, 
.direction-icon, 
.benefit-icon, 
.certificate-icon,
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
}

/* Team Avatars */
.team-avatar, 
.testimonial-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
}

/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Statistics Circles */
.stat-circle {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Map Container */
.map-container {
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Form Styles */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer Styles */
footer a {
    color: white;
    transition: all 0.3s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: white;
    z-index: 1000;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.1);
    display: none;
}

.cookie-consent a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: white;
}

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

.animated {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero {
        padding: 2rem 0;
    }
    
    .feature-icon, 
    .value-icon, 
    .contact-icon, 
    .direction-icon, 
    .benefit-icon, 
    .certificate-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .team-avatar, 
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
        font-size: 24px;
    }
    
    .client-logo {
        height: 60px;
    }
}

/* Print Styles */
@media print {
    .cookie-consent,
    .btn,
    nav {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    a:after {
        content: " (" attr(href) ")";
        font-size: 80%;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
}
