﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #54387F;
    --color-secondary: #9783A9;
    --color-accent: #D4CF6D;
    --color-dark: #1a1a1a;
    --color-light: #f8f8f8;
    --color-white: #ffffff;
    --color-gray: #cccccc;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: var(--color-gray);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(84, 56, 127, 0.85) 0%, rgba(151, 131, 169, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-small {
    padding: 0.625rem 1.5rem;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-secondary);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    color: var(--color-accent);
}

.external-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.external-link:hover {
    color: var(--color-secondary);
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: var(--color-gray);
}

/* Shop Section */
.shop-section {
    padding: 5rem 0;
}

.products-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--color-gray);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-info p {
    margin-bottom: 1rem;
    color: #555;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.product-price {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Installation Section */
.installation-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.installation-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.installation-image {
    flex: 1;
}

.installation-image img {
    border-radius: 10px;
    background: var(--color-gray);
}

.installation-content {
    flex: 1;
}

.installation-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.lead {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.installation-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.install-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.install-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    color: var(--color-accent);
}

.install-item h4 {
    font-size: clamp(1.1rem, 2.3vw, 1.25rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.install-item p {
    color: #555;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* 360 Camera Section */
.camera-360-section {
    padding: 5rem 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.camera-360-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.camera-360-text {
    flex: 1;
}

.camera-360-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.camera-360-text p {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.camera-360-visual {
    flex: 1;
}

.camera-360-visual img {
    border-radius: 10px;
    background: var(--color-gray);
}

/* Rules Section */
.rules-section {
    padding: 5rem 0;
    text-align: center;
}

.rules-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.rules-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.rule-card {
    flex: 1 1 250px;
    max-width: 280px;
    padding: 2rem;
    background: var(--color-light);
    border-radius: 10px;
    transition: var(--transition);
}

.rule-card:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-5px);
}

.rule-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.rule-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 1rem;
}

.rule-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.review-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-rating {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-author strong {
    color: var(--color-primary);
    font-size: clamp(1rem, 2vw, 1.05rem);
}

.review-author span {
    color: var(--color-secondary);
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--color-secondary);
    text-align: center;
    color: var(--color-white);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-column p {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.footer-column h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.2vw, 1.2rem);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: var(--transition);
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.newsletter-form button {
    border: none;
    font-family: inherit;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 1.5rem;
    }

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

    .about-content,
    .installation-wrapper,
    .camera-360-content {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}