/* Global Variables */
:root {
    --bg-main: #2E1A47;
    --accent-orange: #FF6B35;
    --accent-turquoise: #1DE9B6;
    --text-white: #F7F7F7;
    --heading-cream: #ECECEC;
    --block-gradient-start: #0F2027;
    --block-gradient-mid: #203A43;
    --block-gradient-end: #2C5364;
    --max-width: 1200px;
    --section-padding: 4rem 2rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px for easier rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-main);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    color: var(--heading-cream);
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-turquoise);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--text-white);
    padding: 1.2rem 2.5rem;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--accent-turquoise);
    color: var(--bg-main);
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.3rem;
    background-color: var(--accent-orange);
}

/* Gradient block backgrounds */
.gradient-block {
    background: linear-gradient(to right, var(--block-gradient-start), var(--block-gradient-mid), var(--block-gradient-end));
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(46, 26, 71, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.logo {
    height: 5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    color: var(--text-white);
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-turquoise);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(15, 32, 39, 0.9), rgba(32, 58, 67, 0.8), rgba(44, 83, 100, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80rem;
}

.hero-title {
    font-size: 6.4rem;
    margin-bottom: 3rem;
    color: var(--heading-cream);
}

.hero-text {
    font-size: 2rem;
    margin-bottom: 4rem;
}

/* About Section */
.about {
    background-color: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Features Section */
.features {
    background-color: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 4rem;
}

.feature-item {
    text-align: center;
    padding: 3rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 5rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
}

/* Catalog Section */
.catalog {
    background-color: var(--bg-main);
}

.catalog-content {
    text-align: center;
}

/* Services Section */
.services {
    background-color: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
}

.service-item {
    position: relative;
    padding: 3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(to right, var(--block-gradient-start), var(--block-gradient-mid), var(--block-gradient-end));
    z-index: -1;
}

.service-title {
    margin-bottom: 1.5rem;
    color: var(--accent-turquoise);
}

.service-price {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 2rem 0;
}

.service-feature {
    margin: 1rem 0;
}

/* Order Form Section */
.order {
    background-color: var(--bg-main);
}

.form-container {
    max-width: 60rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--block-gradient-mid);
    border-radius: 5px;
    background-color:#222e3a;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(29, 233, 182, 0.3);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.form-check-label {
    font-size: 1.4rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
}

.testimonial-item {
    padding: 3rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(to right, var(--block-gradient-start), var(--block-gradient-mid), var(--block-gradient-end));
    z-index: -1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-turquoise);
}

/* Footer */
footer {
    background-color: #1a0f2a;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.footer-icon {
    color: var(--accent-orange);
    margin-right: 1rem;
    font-size: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 35rem;
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(to right, var(--block-gradient-start), var(--block-gradient-mid), var(--block-gradient-end));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cookie-popup p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Thank you page */
.thank-you {
    margin: 150px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thank-you-content {
    max-width: 50rem;
}

.thank-you-icon {
    font-size: 8rem;
    color: var(--accent-turquoise);
    margin-bottom: 3rem;
}

/* Policy Pages */
.policy-page {
    padding: 12rem 2rem 5rem;
}

.policy-content {
    max-width: 80rem;
    margin: 0 auto;
}

.policy-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.policy-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.policy-content p, .policy-content ul, .policy-content ol {
    margin-bottom: 2rem;
}

.policy-content ul, .policy-content ol {
    margin-left: 2rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .hero-title {
        font-size: 5.6rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 9rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 9rem);
        background-color: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 2rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 4.8rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-text {
        font-size: 1.8rem;
    }
    
    .section-title {
        margin-bottom: 4rem;
    }
    
    .cookie-popup {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
    }
}
