/* Parik24 - Основные стили (Брендовые цвета: чёрный + жёлтый) */

:root {
    --primary-black: #0d0d0d;
    --secondary-black: #1a1a1a;
    --accent-yellow: #ffd700;
    --accent-yellow-hover: #ffed4a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --card-bg: #1f1f1f;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--primary-black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    color: var(--text-white);
    padding: 0px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--accent-yellow);
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.1);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

header .tagline {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--text-gray);
}

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 30px auto;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 3rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: none;
    border-radius: 12px;
}

/* Main Content */
main {
    background: var(--secondary-black);
    margin: 30px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    min-height: 60vh;
    border: 1px solid var(--border-color);
}

h2 {
    color: var(--accent-yellow);
    margin: 30px 0 15px 0;
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-yellow);
    padding-left: 15px;
}

h3 {
    color: var(--accent-yellow);
    margin: 25px 0 12px 0;
    font-size: 1.4rem;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    color: var(--text-gray);
}

/* Lists */
ul, ol {
    margin: 15px 0 15px 25px;
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-gray);
}

ul {
    list-style-type: disc;
}

ul ul {
    list-style-type: circle;
    margin-top: 10px;
}

ol {
    list-style-type: decimal;
}

/* Buttons and Links */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6c200 100%);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 8px 8px 8px 0;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, var(--accent-yellow-hover) 0%, var(--accent-yellow) 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: var(--primary-black);
}

/* Card Grid for Homepage */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
    transform: translateY(-5px);
}

.card h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--accent-yellow);
}

.card p {
    margin-bottom: 20px;
    text-align: left;
    color: var(--text-gray);
}

/* Section Blocks */
.section-block {
    background: var(--card-bg);
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 4px solid var(--accent-yellow);
}

.section-block h3 {
    margin-top: 0;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--text-white);
    padding: 40px 0 20px 0;
    margin-top: 50px;
    border-top: 3px solid var(--accent-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    text-align: left;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    color: var(--accent-yellow);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}

.social-icons a:hover {
    background: var(--accent-yellow);
    color: var(--primary-black);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Info Boxes */
.info-box {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--accent-yellow);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box p {
    color: var(--text-white);
}

/* Links in text */
a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-yellow-hover);
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--accent-yellow);
    color: var(--primary-black);
    font-weight: 700;
}

tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .hero-image {
        height: 250px;
        font-size: 2rem;
    }
    
    main {
        padding: 25px 20px;
        margin: 20px auto;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        height: 200px;
        font-size: 1.5rem;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}
