:root {
    --bg-color: #ffffff;
    --text-main: #002b5e;
    --accent: #0055ff;
    --surface: #e6f0ff;
    --border: #b3d1ff;
    --shadow: rgba(0, 85, 255, 0.1);
}
[data-theme="dark"] {
    --bg-color: #000c1a;
    --text-main: #ffffff;
    --accent: #4488ff;
    --surface: #001f3f;
    --border: #003366;
    --shadow: rgba(0, 0, 0, 0.5);
}
[data-theme="ocean"] {
    --bg-color: #00152b;
    --text-main: #e6f0ff;
    --accent: #66a3ff;
    --surface: #002b5e;
    --border: #004080;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body { 
    font-family: 'Georgia', serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    transition: background-color 0.5s ease, color 0.5s ease; 
    line-height: 1.7; 
    overflow-x: hidden; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#app-container { flex: 1; }

/* Анимации фона */
.circle-bg { position: fixed; border-radius: 50%; filter: blur(100px); z-index: -1; animation: drift 25s infinite linear; pointer-events: none; }
.circle-1 { width: 400px; height: 400px; background: var(--accent); opacity: 0.15; top: 10%; left: -100px; }
.circle-2 { width: 500px; height: 500px; background: var(--border); opacity: 0.2; bottom: -100px; right: -150px; animation-direction: reverse; }
@keyframes drift { 0% { transform: rotate(0deg) translate(50px) rotate(0deg); } 100% { transform: rotate(360deg) translate(50px) rotate(-360deg); } }

/* Навигация */
.float-nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 3%; background: var(--surface); margin: 1rem 5%; border-radius: 50px; box-shadow: 0 10px 30px var(--shadow); position: sticky; top: 1rem; z-index: 1000; border: 1px solid var(--border); backdrop-filter: blur(10px); }
.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; z-index: 1001; } 
.logo span { color: var(--accent); }

.nav-wrapper { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text-main); text-decoration: none; font-family: sans-serif; font-size: 0.9rem; text-transform: uppercase; padding: 0.5rem 1rem; border-radius: 20px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { background: var(--accent); color: #fff; }
.theme-controls { display: flex; gap: 8px; }
.theme-btn { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: 0.3s; }
.theme-btn.active { transform: scale(1.2); border-color: var(--accent); }
.theme-btn[data-set-theme="light"]{background:#fff;} .theme-btn[data-set-theme="dark"]{background:#000c1a;} .theme-btn[data-set-theme="ocean"]{background:#002b5e;}

/* Мобильное меню (Гамбургер) */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.mobile-toggle span { width: 25px; height: 3px; background-color: var(--text-main); transition: 0.3s; border-radius: 3px; }

/* Секции лендинга */
.scroll-section { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 4rem 0; }
.section-content { padding: 0 5%; max-width: 1200px; margin: 0 auto; width: 100%; }
h2 { text-align: center; font-size: 2.8rem; margin-bottom: 3rem; font-weight: normal; }

/* Hero */
.hero { display: flex; align-items: center; justify-content: center; text-align: center; max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; }
.hero-text h1 { font-size: 4rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-text p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem auto; font-family: sans-serif; opacity: 0.8; }

/* Кнопки */
.btn { background: var(--accent); color: #fff; border: none; padding: 1rem 2.5rem; border-radius: 30px; cursor: pointer; font-family: sans-serif; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; font-weight: bold; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px var(--shadow); }
.btn-glow { box-shadow: 0 0 20px var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Галерея */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.zoom-eff .img-placeholder { width: 100%; height: 100%; background: var(--border); display: flex; align-items: center; justify-content: center; font-family: sans-serif; transition: 0.5s; color: var(--text-main); font-weight: bold; border: 1px dashed var(--accent); }
.zoom-eff:hover .img-placeholder { transform: scale(1.1); }
.overlay { position: absolute; inset: 0; background: rgba(0, 43, 94, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; padding: 1rem; text-align: center;}
.gallery-item:hover .overlay { opacity: 1; }
.overlay span { color: #fff; font-size: 1.2rem; font-family: sans-serif; transform: translateY(20px); transition: 0.3s; }
.gallery-item:hover .overlay span { transform: translateY(0); }
.details-box { background: var(--surface); padding: 2rem; border-radius: 12px; border: 1px dashed var(--accent); font-family: sans-serif; text-align: center; margin-top: 1rem; }

/* Каталог */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.catalog-card { background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; }
.catalog-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px var(--shadow); }
.cat-img { height: 220px; background: var(--border); display: flex; align-items: center; justify-content: center; font-family: sans-serif; font-weight:bold; }
.cat-info { padding: 1.5rem; text-align: center; font-family: sans-serif; flex: 1; display: flex; flex-direction: column; justify-content: space-between;}
.cat-info h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.cat-info .price { color: var(--accent); font-size: 1.4rem; font-weight: bold; margin-bottom: 1.5rem; }

/* Цены */
.pricing-cards { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.price-card { background: var(--surface); padding: 3rem 2rem; border: 1px solid var(--border); border-radius: 16px; text-align: center; width: 100%; max-width: 380px; font-family: sans-serif; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.hover-up:hover { transform: translateY(-10px); box-shadow: 0 15px 30px var(--shadow); }
.price-card.featured { border: 2px solid var(--accent); }
.price-card h3 { font-family: 'Georgia', serif; font-size: 1.8rem; margin-bottom: 1rem; }
.price-card .price { font-size: 1.5rem; font-weight: bold; color: var(--accent); margin-bottom: 1.5rem; }
.price-card p { margin-bottom: 2rem; opacity: 0.8; }

/* Контакты */
.contact-block { text-align: center; padding: 2rem 20px; }
.contact-block p { font-size: 1.2rem; font-family: sans-serif; margin-bottom: 3rem; }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 1rem; }
.modal.active { display: flex; animation: fadeInUp 0.3s; }
.modal-content { background: var(--surface); padding: 3rem; border-radius: 16px; border: 1px solid var(--accent); width: 100%; max-width: 500px; text-align: center; position: relative; font-family: sans-serif; }
.close-btn { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; cursor: pointer; color: var(--text-main); }
.close-btn:hover { color: var(--accent); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

footer { text-align: center; padding: 3rem; font-family: sans-serif; border-top: 1px solid var(--border); opacity: 0.7; }

/* Адаптив (Мобильные) */
@media (max-width: 900px) {
    .float-nav { border-radius: 16px; padding: 1rem; margin: 0.5rem; }
    .hero-text h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav-wrapper {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: var(--surface); border-top: 1px solid var(--border);
        flex-direction: column; justify-content: flex-start; padding-top: 3rem;
        transition: left 0.3s ease;
    }
    .nav-wrapper.open { left: 0; }
    
    .nav-links { flex-direction: column; align-items: center; gap: 2rem; width: 100%; margin-bottom: 3rem; }
    .nav-links a { font-size: 1.2rem; padding: 1rem 2rem; }
    
    .scroll-section { min-height: auto; padding: 3rem 0; }
    h2 { font-size: 2.2rem; }
}
