/* Базові налаштування */
:root {
    --primary-color: #2293d7;
    --text-dark: #313233;
    --text-light: #848991;
    --bg-light: #f5f6fa;
}

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

body {
    font-family: 'Hind', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Proxima Nova', sans-serif;
    color: var(--text-dark);
    font-weight: 600;
}

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

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Шапка сайту */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(34, 147, 215, 0.9);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    margin-left: 15px;
}

.main-nav {
    background: #fff;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #000;
    font-weight: 600;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Головний екран */
.hero {
    background: linear-gradient(rgba(34, 147, 215, 0.5), rgba(34, 147, 215, 0.5)), url('http://test.singapore.in.ua/images/header.jpg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 100px;
}

.hero h1 {
    color: #fff;
    font-size: 50px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Місто-держава Сінгапур */
.city-state {
    padding: 100px 0;
    background: #fff;
}

.city-state h3 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
}

.city-state img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Еволюція Сінгапуру */
.evolution {
    padding: 100px 0;
    background: linear-gradient(rgba(38, 105, 159, 0.8), rgba(38, 105, 159, 0.8)), url('http://test.singapore.in.ua/images/Home-IMG-4.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.evolution h3 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 10px;
}

.evolution > p {
    font-size: 18px;
    margin-bottom: 60px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.timeline-item h5 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Сучасна утопія */
.utopia {
    padding: 100px 0;
    background: #fff;
}

.utopia h3 {
    font-size: 34px;
    margin-bottom: 40px;
}

.utopia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.utopia-item i {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Статті та новини */
.news {
    padding: 100px 0;
    background: var(--bg-light);
}

.news h3 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 10px;
}

.news > p {
    text-align: center;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 18px;
    line-height: 1.4;
}

/* Цитати */
.quotes {
    padding: 100px 0;
    background: #fff;
}

.quote-card {
    display: flex;
    background: #fff;
    box-shadow: 0 5px 30px rgba(214,215,216,0.57);
    border-radius: 8px;
    overflow: hidden;
}

.quote-text {
    padding: 40px;
    flex: 2;
}

.quote-text i {
    color: #42a7f7;
    font-size: 24px;
    margin-bottom: 20px;
}

.quote-text p {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.quote-author h6 {
    margin-bottom: 5px;
}

.quote-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

/* Підвал */
footer {
    border-top: 1px solid #ddd;
    padding: 50px 0 20px;
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-links a {
    color: var(--text-light);
    font-size: 18px;
    margin-left: 15px;
}

/* Адаптивність */
@media (max-width: 992px) {
    .grid-2, .timeline, .news-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .quote-card { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}