* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Manrope', Arial, sans-serif;
    color: white;
}

/* ===== VIDEO BACKGROUND ===== */
.video-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* dark overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.8));
    z-index: -1;
}

/* ===== HEADER ===== */
.topbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 6px 18px;
    min-height: 46px;

    border-radius: 999px;
    background: rgba(20, 184, 166, 0.35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);

    z-index: 1000;
}

/* MENU */
.menu a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #facc15;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* LANG */
.lang {
    display: flex;
    gap: 6px;
}

.lang-btn {
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    color: white;
}

.lang-btn.active {
    background: #facc15;
    color: #1f2933;
    border-color: #facc15;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero p {
    font-size: 24px;
}

/* ===== GLASS SECTIONS ===== */
.section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 80px 40px;
    border-radius: 28px;
}

.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* TEXT */
.text-block {
    max-width: 900px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

/* ===== WHY ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,184,166,0.9), rgba(0,0,0,0.2));
}

.why-content {
    position: absolute;
    bottom: 0;
    padding: 24px;
    z-index: 2;
}

/* ===== DIRECTIONS ===== */
.dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.dir-card {
    position: relative;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
}

.dir-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.dir-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.dir-content {
    position: absolute;
    bottom: 0;
    padding: 28px;
    z-index: 2;
}

.dir-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.dir-content p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.dir-content a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: #14b8a6;
    color: #022c22;
    font-weight: 700;
    text-decoration: none;
}

/* BACKGROUNDS */
.photo1 { background-image: url("photo-seeds.jpg"); }
.photo2 { background-image: url("photo-export.jpg"); }
.photo3 { background-image: url("photo-quality.jpg"); }
.photo4 { background-image: url("big5.jpg"); }

.dir-seeds  { background-image: url("photo-seeds.jpg"); }
.dir-wheat  { background-image: url("photo-export.jpg"); }
.dir-flour  { background-image: url("photo-quality.jpg"); }
.dir-bags   { background-image: url("big5.jpg"); }

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    opacity: 0.8;
}

/* ===== INTERNAL PAGES ===== */

body.inner-page {
    background: #f8fafc;
    color: #0f172a;
}

.menu.dark a {
    color: #0f172a;
}

.menu.dark a:hover {
    color: #16a34a;
}

.page-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: 64px;
    font-weight: 800;
}

.page-content {
    background: #f8fafc;
    padding: 80px 0;
}

.container {
    width: 1100px;
    max-width: 90%;
    margin: auto;
}

.page-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.features-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.footer {
    text-align: center;
    padding: 30px;
    background: #0f172a;
    color: white;
}

/* ===== CONTACTS PAGE ===== */

.contacts-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
}

.contacts-page h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contacts-subtitle {
    opacity: 0.8;
    margin-bottom: 50px;
}

.contacts-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: stretch;
}

.contacts-info {
    text-align: left;
    padding: 20px;
}

.contacts-info h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.contact-item {
    font-size: 18px;
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0.95;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: none;
    border-radius: 18px;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Цвета кнопок */
.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-btn.tiktok {
    background: #000;
}

