﻿:root {
--primary: #2c3e50;
--secondary: #86191c;
--light: #f8f9fa;
--dark: #212529;
--gray: #6c757d;
--transition: all 0.3s ease;
--shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
--shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "Montserrat", sans-serif;
line-height: 1.6;
color: var(--dark);
background-color: var(--light);
overflow-x: hidden;
}

h1,
h2,
h3 {
font-family: "Playfair Display", serif;
font-weight: 700;
margin-bottom: 1rem;
color: var(--primary);
}

h1 {
font-size: 3.5rem;
line-height: 1.2;
}

h2 {
font-size: 2.5rem;
position: relative;
padding-bottom: 15px;
}

h2::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 80px;
height: 3px;
background: var(--secondary);
}

.text-center h2::after {
left: 50%;
transform: translateX(-50%);
}

p {
margin-bottom: 1rem;
}

a {
color: var(--primary);
text-decoration: none;
text-underline-offset: 0.18em;
text-decoration-thickness: 0.08em;
transition: var(--transition);
}

a:hover {
color: var(--secondary);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}

img {
max-width: 100%;
height: auto;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.btn {
display: inline-block;
padding: 12px 30px;
background: var(--secondary);
color: white;
border: none;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: var(--transition);
cursor: pointer;
box-shadow: var(--shadow);
}

.btn:hover {
background: #c19b2e;
color: white;
transform: translateY(-3px);
box-shadow: var(--shadow-hover);
}

.btn-outline:hover {
background: var(--secondary);
color: white;
}

section {
padding: 80px 0;
}

.text-center {
text-align: center;
}

.mb-4 {
margin-bottom: 1.5rem;
}

.mb-5 {
margin-bottom: 3rem;
}

/* Header */

header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: var(--transition);
}

header.scrolled {
background: white;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
padding: 10px 0;
}

.header-container {
display: flex;
justify-content: space-around;
align-items: center;
padding: 20px 0;
}

.logo {
display: flex;
align-items: center;
}

.logo img {
height: 50px;
width: auto;
margin-right: 10px;
}

.logo-text {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
}

.logo-text span {
color: var(--secondary);
}

nav ul {
display: flex;
list-style: none;
}

nav ul li {
margin-left: 30px;
}

nav ul li a {
font-weight: 600;
position: relative;
padding: 5px 0;
}

nav ul li a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--secondary);
transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a:focus::after {
width: 100%;
}

.mobile-toggle {
display: none;
font-size: 1.5rem;
cursor: pointer;
}

/* Language dropdown */

.language-dropdown {
position: relative;
}

.language-dropdown:hover .language-list,
.language-dropdown:focus-within .language-list {
display: block;
}

.language-list {
display: none;
position: absolute;
background-color: white;
list-style: none;
margin: 0;
padding: 0;
border: 1px solid #ccc;
z-index: 1000;
max-height: 300px;
overflow-y: auto;
scrollbar-width: thin;
}

.language-list li a {
display: flex;
justify-content: center;
align-items: center;
padding: 8px 32px;
color: #333;
text-decoration: none;
}

.language-list li a:hover,
.language-list li a:focus {
background-color: #f0f0f0;
}

.language-list-button {
margin: 0;
}

/* Hero Section */

.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
color: white;
text-align: center;
padding-top: 80px;
background:
linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
url("https://mebin.polfirms.com/etna-01.webp") no-repeat center center / cover;
}

.hero-content {
max-width: 800px;
margin: 0 auto;
padding: 0 20px;
}

.hero h1 {
color: white;
margin-bottom: 20px;
font-size: 3.5rem;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-btns {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 30px;
}

/* About Section */

.about {
background: white;
}

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}

.about-img {
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow);
}

.about-img img {
width: 100%;
height: auto;
display: block;
transition: var(--transition);
}

.about-img:hover img {
transform: scale(1.05);
}

.about-text h2 {
margin-bottom: 20px;
}

.features {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 30px;
}

.feature {
display: flex;
align-items: flex-start;
}

.feature i {
color: var(--secondary);
font-size: 1.5rem;
margin-right: 15px;
margin-top: 5px;
}

/* Products Section */

.products {
background: #f8f9fa;
}

.section-header {
max-width: 700px;
margin: 0 auto 50px;
text-align: center;
}

.product-filters {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 40px;
}

.filter-btn {
padding: 8px 20px;
background: white;
border: 1px solid #ddd;
border-radius: 30px;
cursor: pointer;
transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
background: var(--secondary);
color: white;
border-color: #333;
}

.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
}

.product-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow);
transition: var(--transition);
display: flex;
flex-direction: column;
height: 100%;
}

.product-card.hidden {
display: none;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-hover);
}

.product-img {
height: 250px;
overflow: hidden;
}

.product-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}

.product-card:hover .product-img img {
transform: scale(1.1);
}

.product-info {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
}

.product-info p {
flex-grow: 1;
margin-bottom: 10px;
}

.product-info .btn {
margin-top: auto;
}

.product-info h3 {
margin-bottom: 10px;
font-size: 1.4rem;
}

.product-category {
display: inline-block;
background: #e9ecef;
color: #343a40;
font-size: 0.85rem;
padding: 3px 10px;
border-radius: 30px;
margin-bottom: 10px;
}

.product-price {
font-size: 1.2rem;
font-weight: 700;
color: var(--primary);
margin: 10px 0;
}

/* Gallery */

.gallery {
background: white;
}

.gallery-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}

.gallery-item {
border-radius: 10px;
overflow: hidden;
height: 300px;
position: relative;
cursor: pointer;
box-shadow: var(--shadow);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}

.gallery-item:hover img {
transform: scale(1.1);
}

.gallery-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: var(--transition);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
opacity: 1;
}

.gallery-overlay i {
color: white;
font-size: 2.5rem;
}

/* Contact Section */

.contact {
color: white;
background:
linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
url("https://mebin.polfirms.com/etna-01.webp") no-repeat center center / cover;
}

.contact h2 {
color: white;
}

.contact h2::after {
background: var(--secondary);
}

.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
}

.contact-info h3 {
color: white;
margin-bottom: 20px;
font-size: 1.8rem;
}

.contact-details {
margin-bottom: 30px;
}

.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}

.contact-item i {
color: var(--secondary);
font-size: 1.2rem;
margin-right: 15px;
margin-top: 5px;
}

.social-links {
display: flex;
gap: 15px;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
color: white;
border-radius: 50%;
transition: var(--transition);
}

.social-links a:hover,
.social-links a:focus {
background: var(--secondary);
transform: translateY(-5px);
}

/* Forms */

.contact-form .form-group,
.newsletter-form .form-group {
margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 12px 15px;
border: none;
border-radius: 4px;
background: rgba(255, 255, 255, 0.1);
color: white;
font-family: "Montserrat", sans-serif;
transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: 2px solid white;
outline-offset: 3px;
background: rgba(255, 255, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
min-height: 150px;
resize: vertical;
}

.newsletter-form input {
width: 100%;
padding: 12px 15px;
border: 1px solid transparent;
border-radius: 4px;
font-family: "Montserrat", sans-serif;
}

/* Footer */

footer {
background: var(--primary);
color: white;
padding: 60px 0 30px;
}

.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 40px;
margin-bottom: 40px;
}

.footer-col h4 {
color: white;
margin-bottom: 20px;
font-size: 1.3rem;
position: relative;
padding-bottom: 10px;
}

.footer-col h4::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background: var(--secondary);
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 10px;
}

.footer-links a,
.footer-links a:visited {
color: rgba(255, 255, 255, 0.88);
text-decoration: underline;
text-underline-offset: 0.18em;
text-decoration-thickness: 0.08em;
transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
color: white;
text-decoration-thickness: 0.14em;
}

.privacy-text a,
.privacy-text a:visited {
color: inherit;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 0.18em;
text-decoration-thickness: 0.08em;
}

.privacy-text a:hover,
.privacy-text a:focus {
text-decoration-thickness: 0.14em;
}

.tech-context-block {
margin: 20px 0;
padding: 16px 20px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.9);
font-size: 0.95rem;
}

.copyright {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.88);
font-size: 0.9rem;
}

/* Verification Channels */

.verification-channels {
background: #ffffff;
padding: 70px 0;
}

.verification-channels h2 {
text-align: center;
margin-bottom: 25px;
color: var(--primary);
}

.verification-channels h2::after {
left: 50%;
transform: translateX(-50%);
}

.verification-channels > p {
max-width: 850px;
margin: 0 auto 40px;
text-align: center;
color: #343a40;
}

.verification-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
}

.verification-item {
background: #ffffff;
border: 1px solid #d8dee4;
border-radius: 10px;
padding: 24px;
box-shadow: var(--shadow);
}

.verification-item h3 {
font-size: 1.25rem;
margin-bottom: 12px;
color: var(--primary);
}

.verification-item p {
color: #343a40;
}

.verification-item a,
.verification-item a:visited {
display: inline-block;
margin-top: 8px;
font-weight: 700;
color: var(--primary);
text-decoration: underline;
text-underline-offset: 0.18em;
text-decoration-thickness: 0.08em;
}

.verification-item a:hover,
.verification-item a:focus {
color: var(--secondary);
text-decoration-thickness: 0.14em;
}

/* Lightbox */

.lightbox[hidden] {
display: none;
}

.lightbox {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
}

.lightbox-content {
max-width: 90%;
max-height: 90%;
position: relative;
}

.lightbox-content img {
display: block;
max-width: 100%;
max-height: 80vh;
width: auto;
height: auto;
object-fit: contain;
margin: 0 auto;
border-radius: 5px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
cursor: pointer;
border: 0;
background: transparent;
color: white;
transition: var(--transition);
}

.lightbox-close {
position: absolute;
top: 20px;
right: 20px;
font-size: 2rem;
}

.lightbox-nav {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
font-size: 2.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
color: var(--secondary);
}

/* Responsive */

@media (max-width: 992px) {
h1 {
font-size: 3rem;
}

h2 {
font-size: 2.2rem;
}

h4 {
color: #ffffff;
}

.about-content {
grid-template-columns: 1fr;
}

.about-img {
max-width: 600px;
margin: 0 auto;
}
}

@media (max-width: 768px) {
.mobile-toggle {
display: block;
}

nav ul {
position: fixed;
top: 80px;
left: 0;
width: 100%;
background: white;
flex-direction: column;
align-items: center;
padding: 20px 0;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
transform: translateY(-150%);
transition: var(--transition);
display: flex;
}

nav ul.active {
transform: translateY(0);
}

nav ul li {
margin: 15px 0;
}

.hero {
background:
linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
url("https://mebin.polfirms.com/etna-01-mobile.webp") no-repeat center center / cover;
}

.contact {
background:
linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
url("https://mebin.polfirms.com/etna-01-mobile.webp") no-repeat center center / cover;
}

.hero h1 {
font-size: 2.5rem;
}

.hero-btns {
flex-direction: column;
gap: 10px;
}

.features {
grid-template-columns: 1fr;
}

section {
padding: 60px 0;
}

.language-list {
width: 150px;
left: auto;
}

.language-dropdown {
display: flex;
justify-content: center;
}
}

@media (max-width: 576px) {
h1 {
font-size: 2.2rem;
}

h2 {
font-size: 1.8rem;
}

.logo-text {
font-size: 1.5rem;
}
}
