/*
Theme Name: Alma Supermarkets
Theme URI: https://alma.com.ua
Author: Alma Development Team
Author URI: https://alma.com.ua
Description: Modern and responsive WordPress theme for Alma supermarket chain in Zakarpattia, Ukraine. Features multilingual support (Ukrainian/English), store locator, promotions management, and content management system.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alma-theme
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: business, food-and-drink, retail, multilingual, responsive, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ================================
   ALMA THEME - ГЛАВНЫЕ СТИЛИ
   ================================ */

:root {
    --header: #0c2c1c;
    --theme-3: #41C575;
    --theme-4: #79B900;
    --white: #fff;
    --bg-3: #F3F8F3;
    --text-dark: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* ================================
   БАЗОВЫЕ ЭЛЕМЕНТЫ
   ================================ */

a {
    color: var(--theme-3);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-4);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ================================
   CONTAINER
   ================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ================================
   SKIP LINK
   ================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ================================
   ОБЩИЕ СТИЛИ
   ================================ */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input[type="submit"],
input[type="button"],
.btn {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* ================================
   ALERT MESSAGES (CONTACT FORM)
   ================================ */

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    position: relative;
    font-family: inherit;
}

.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.alert-dismissible {
    padding-right: 3rem;
}

.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close::before {
    content: '×';
    font-size: 1.5rem;
    line-height: 1;
    color: inherit;
}

.alert .fas {
    margin-right: 0.5rem;
}

/* ================================
   HERO COUNTER MORE INFO BUTTON
   ================================ */

.hero-counter-more-info {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hero-counter-more-info.show {
    opacity: 1;
    visibility: visible;
}

.hero-counter-more-info .theme-btn {
    background: var(--theme-3);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-counter-more-info .theme-btn:hover {
    background: var(--theme-3);
    color: var(--white);
    transform: translateY(-2px);
}
.hero-counter-more-info .theme-btn i{
    background: white;
    rm: translateY(-2px);
}

.hero-counter-more-info .theme-btn:hover i{
    background: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-counter-more-info {
        bottom: 60px;
    }
}

/* ================================
   АДАПТИВНОСТЬ
   ================================ */

@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 767px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }
    
    .container {
        padding: 0 12px;
    }
}