@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;600&display=swap');

:root {
--color-primary: #E43636;
--color-secondary: #F6EFD2;
--color-tertiary: #E2DDB4;
--color-dark: #000000;
--color-white: #ffffff;
--color-overlay: rgba(0, 0, 0, 0.7);

--font-display: 'Playfair Display', serif;
--font-body: 'Inter', sans-serif;

--space-xs: 0.5rem;
--space-sm: 1rem;
--space-md: 2rem;
--space-lg: 4rem;
--space-xl: 6rem;

--radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 1rem;

--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

--transition-fast: 0.2s ease;
--transition-base: 0.3s ease;
--transition-slow: 0.6s ease;
}

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

html {
font-size: 100%;
scroll-behavior: smooth;
}

body {
font-family: var(--font-body);
font-size: 0.9rem;
line-height: 1.6;
color: var(--color-dark);
background: var(--color-white);
overflow-x: hidden;
}

img {
max-width: 100%;
height: auto;
display: block;
}

a {
text-decoration: none;
color: inherit;
transition: var(--transition-base);
}

button {
border: none;
background: none;
cursor: pointer;
font-family: inherit;
}

.hero-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.header-main {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: var(--space-sm) var(--space-md);
z-index: 1000;
transition: var(--transition-base);
}

.header-main.scrolled {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-sm);
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
}

.logo-text {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 900;
color: var(--color-primary);
letter-spacing: -0.02em;
}

.nav-links {
display: flex;
gap: var(--space-md);
list-style: none;
}

.nav-links a {
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
position: relative;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--color-primary);
transition: var(--transition-base);
}

.nav-links a:hover::after {
width: 100%;
}

.burger-menu {
display: none;
flex-direction: column;
gap: 5px;
width: 28px;
height: 24px;
cursor: pointer;
}

.burger-line {
width: 100%;
height: 3px;
background: var(--color-dark);
transition: var(--transition-base);
border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-tertiary) 100%);
}

.hero-content {
position: relative;
z-index: 10;
text-align: center;
padding: var(--space-md);
animation: fadeInUp 1s var(--transition-slow);
}

.hero-title {
font-family: var(--font-display);
font-size: clamp(2.5rem, 8vw, 6rem);
font-weight: 900;
color: var(--color-primary);
margin-bottom: var(--space-sm);
line-height: 1.1;
letter-spacing: -0.03em;
}

.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.5rem);
font-weight: 300;
color: var(--color-dark);
margin-bottom: var(--space-md);
opacity: 0.8;
}

.btn-primary {
display: inline-block;
padding: 0.9rem 2.5rem;
background: var(--color-primary);
color: var(--color-white);
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-radius: var(--radius-md);
transition: var(--transition-base);
box-shadow: var(--shadow-md);
margin: 15px 0;
text-align: center;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
background: #c92e2e;
}

.section-wrapper {
padding: var(--space-lg) var(--space-md);
max-width: 1400px;
margin: 0 auto;
}

.section-asymmetric {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-md);
align-items: center;
}

.section-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 700;
color: var(--color-primary);
margin-bottom: var(--space-sm);
line-height: 1.2;
}

.section-text {
font-size: 0.95rem;
line-height: 1.8;
color: var(--color-dark);
opacity: 0.85;
}

.image-wrapper {
position: relative;
overflow: hidden;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
}

.image-wrapper img {
width: 100%;
transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
transform: scale(1.05);
}

.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--space-md);
margin-top: var(--space-md);
}

.card-item {
background: var(--color-white);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: var(--transition-base);
}

.card-item:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
}

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

.card-content {
padding: var(--space-sm);
}

.card-title {
font-family: var(--font-display);
font-size: 1.3rem;
font-weight: 700;
color: var(--color-dark);
margin-bottom: var(--space-xs);
}

.card-description {
font-size: 0.85rem;
color: var(--color-dark);
opacity: 0.75;
margin-bottom: var(--space-sm);
}

.card-price {
font-size: 1.2rem;
font-weight: 600;
color: var(--color-primary);
}

.contact-section {
background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-tertiary) 100%);
padding: var(--space-lg) var(--space-md);
}

.contact-container {
max-width: 900px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
gap: var(--space-md);
}

.contact-form {
background: var(--color-white);
padding: var(--space-md);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
}

.form-group {
margin-bottom: var(--space-sm);
}

.form-label {
display: block;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: var(--space-xs);
color: var(--color-dark);
}

.form-input,
.form-textarea {
width: 100%;
padding: 0.8rem;
border: 2px solid var(--color-tertiary);
border-radius: var(--radius-sm);
font-family: inherit;
font-size: 0.9rem;
transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
outline: none;
border-color: var(--color-primary);
}

.form-textarea {
resize: vertical;
min-height: 120px;
}

.form-checkbox {
display: flex;
align-items: flex-start;
gap: var(--space-xs);
margin-bottom: var(--space-sm);
}

.form-checkbox input {
margin-top: 4px;
}

.form-checkbox label {
font-size: 0.8rem;
line-height: 1.5;
}

.contact-info {
display: flex;
flex-direction: column;
gap: var(--space-sm);
}

.info-item {
display: flex;
align-items: flex-start;
gap: var(--space-sm);
}

.info-icon {
font-size: 1.3rem;
color: var(--color-primary);
}

.info-text {
font-size: 0.9rem;
line-height: 1.6;
}

.map-container {
margin-top: var(--space-md);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-md);
}

.map-container iframe {
width: 100%;
height: 350px;
border: none;
}

.footer-main {
background: var(--color-dark);
color: var(--color-white);
padding: var(--space-md);
text-align: center;
font-size: 0.8rem;
}

.footer-links {
display: flex;
justify-content: center;
gap: var(--space-sm);
margin-bottom: var(--space-xs);
flex-wrap: wrap;
}

.footer-links a {
opacity: 0.8;
}

.footer-links a:hover {
opacity: 1;
color: var(--color-primary);
}

.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--color-overlay);
display: none;
align-items: center;
justify-content: center;
z-index: 10000;
animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
display: flex;
}

.popup-content {
background: var(--color-white);
padding: var(--space-md);
border-radius: var(--radius-lg);
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
position: relative;
animation: slideUp 0.3s ease;
}

.popup-close {
position: absolute;
top: var(--space-sm);
right: var(--space-sm);
font-size: 1.5rem;
color: var(--color-dark);
cursor: pointer;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: var(--transition-base);
}

.popup-close:hover {
background: var(--color-tertiary);
}

.popup-title {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 700;
margin-bottom: var(--space-sm);
color: var(--color-primary);
}

.popup-text {
font-size: 0.85rem;
line-height: 1.7;
margin-bottom: var(--space-sm);
}

.testimonial-card {
background: var(--color-white);
padding: var(--space-md);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
margin-bottom: var(--space-md);
}

.testimonial-text {
font-size: 0.95rem;
line-height: 1.7;
font-style: italic;
margin-bottom: var(--space-sm);
color: var(--color-dark);
opacity: 0.85;
}

.testimonial-author {
font-weight: 600;
color: var(--color-primary);
font-size: 0.9rem;
}

.error-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: var(--space-md);
}

.error-code {
font-family: var(--font-display);
font-size: clamp(4rem, 15vw, 10rem);
font-weight: 900;
color: var(--color-primary);
line-height: 1;
}

.error-message {
font-size: 1.2rem;
margin: var(--space-sm) 0;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes slideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}

@media (min-width: 768px) {
.section-asymmetric {
grid-template-columns: 1fr 1fr;
}

.section-asymmetric.reverse {
direction: rtl;
}

.section-asymmetric.reverse > * {
direction: ltr;
}

.contact-container {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 767px) {
.nav-links {
position: fixed;
top: 0;
right: -100%;
width: 70%;
height: 100vh;
background: var(--color-white);
flex-direction: column;
padding: var(--space-xl) var(--space-md);
box-shadow: var(--shadow-lg);
transition: var(--transition-base);
}

.nav-links.active {
right: 0;
}

.burger-menu {
display: flex;
}

.hero-title {
font-size: 2.5rem;
}

.section-wrapper {
padding: var(--space-md) var(--space-sm);
}
}

@media (max-width: 480px) {
.logo-text{ 
   font-size: 1.2rem;
}
.cards-grid {
grid-template-columns: 1fr;
}

.footer-links {
flex-direction: column;
gap: var(--space-xs);
}
}
@media (max-width: 320px) {
}