/**
 * Main stylesheet for domain.com
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1F0E2C;
    color: #FFFFFF;
    line-height: 1.6;
    padding-top: 80px; /* Compensate for fixed header */
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #FEA47F;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #25CCF7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.button, 
button,
input[type="submit"] {
    display: inline-block;
    background-color: #9B59B6;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #9B59B6;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.button:hover, 
button:hover,
input[type="submit"]:hover {
    background-color: #FFFFFF;
    color: #9B59B6;
}

.cta-button {
    background: linear-gradient(135deg, #FEA47F, #9B59B6);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(254, 164, 127, 0.4);
}

.cta-button:hover {
    background: #FFFFFF;
    color: #9B59B6;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* Header */
.main-header {
    background-color: rgba(31, 14, 44, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: lowercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #FEA47F, #25CCF7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Hide on scroll down, show on scroll up */
.header-hidden {
    transform: translateY(-100%);
}

/* Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav a {
    color: #D3C1E5;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #FEA47F, #25CCF7);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #FFFFFF;
}

.desktop-nav a:hover:after {
    width: 100%;
}

.desktop-nav .cta-button {
    padding: 8px 20px;
    border-radius: 20px;
}

.desktop-nav .cta-button:after {
    display: none;
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-icon,
.mobile-menu-icon:before,
.mobile-menu-icon:after {
    background-color: #FFFFFF;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-icon:before,
.mobile-menu-icon:after {
    content: '';
    left: 0;
}

.mobile-menu-icon:before {
    top: -10px;
}

.mobile-menu-icon:after {
    bottom: -10px;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon {
    background-color: transparent;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon:before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon:after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    max-width: 90vw; /* Prevent horizontal scrolling */
    height: calc(100vh - 80px);
    background-color: rgba(31, 14, 44, 0.98);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-checkbox:checked ~ .mobile-nav {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px;
}

/* Cookie Consent */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(31, 14, 44, 0.9);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-popup button {
    margin-left: 20px;
    padding: 8px 20px;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    background-image: url('../img/TZBvMJ.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 80px 20px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 14, 44, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #D3C1E5;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #FEA47F, #25CCF7);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Features */
.features {
    background-color: #FFFFFF;
    color: #1F0E2C;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature-box {
    flex: 1 1 300px;
    padding: 30px;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FEA47F, #25CCF7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFFFFF;
}

.feature-title {
    color: #1F0E2C;
    margin-bottom: 15px;
}

.feature-description {
    color: #555;
}

/* Services */
.services {
    background: linear-gradient(135deg, rgba(31, 14, 44, 0.9), rgba(31, 14, 44, 0.8)),
                url('../img/RsD7qA.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: #FEA47F;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25CCF7;
}

/* Gallery */
.gallery {
    background-color: #FFFFFF;
    color: #1F0E2C;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* How it works */
.how-it-works {
    background: linear-gradient(135deg, #1F0E2C, #3B2347);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1 1 300px;
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FEA47F, #25CCF7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    background-color: #FFFFFF;
    color: #1F0E2C;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.testimonial {
    flex: 1 1 300px;
    padding: 30px;
    background-color: #f9f4ff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 1.5rem;
    color: #9B59B6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-name {
    font-weight: 600;
    margin-right: 5px;
}

.testimonial-location {
    color: #777;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #FEA47F, #25CCF7);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta .button {
    background-color: #FFFFFF;
    color: #9B59B6;
    border: none;
    font-size: 1.1rem;
    padding: 15px 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta .button:hover {
    background-color: #1F0E2C;
    color: #FFFFFF;
}

/* Contact Form */
.contact {
    background-color: #1F0E2C;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FEA47F;
    box-shadow: 0 0 0 2px rgba(254, 164, 127, 0.3);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Style for dropdown options */
select.form-input option {
    background-color: #FFFFFF;
    color: #1F0E2C;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-errors {
    background-color: rgba(255, 87, 87, 0.2);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #ff5757;
}

.form-errors ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.form-errors li {
    margin-bottom: 5px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.main-footer {
    background-color: rgba(31, 14, 44, 0.97);
    padding: 60px 0 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-edge {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(31, 14, 44, 0.97);
    clip-path: polygon(0 100%, 100% 100%, 50% 0);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    color: #FEA47F;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #FEA47F, #25CCF7);
}

.contact-info,
.footer-links {
    list-style: none;
}

.contact-info li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #D3C1E5;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:before {
    content: '→';
    margin-right: 5px;
    opacity: 0;
    transform: translateX(-10px);
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 15px;
}

.footer-links a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #D3C1E5;
    font-size: 0.9rem;
}

/* Bordered box design for thank-you page */
.bordered-box {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    border: 2px solid #9B59B6;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
}

/* Policy page styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.policy-content h2,
.policy-content h3,
.policy-content h4 {
    margin-top: 30px;
    color: #FEA47F;
}

.policy-content ul,
.policy-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-contact-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About page */
.about-section {
    padding: 60px 0;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Blog page */
.blog-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(31, 14, 44, 0.9), rgba(31, 14, 44, 0.8)),
                url('../img/tywTcU.jpg');
    background-size: cover;
    background-position: center;
}

.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.article-meta {
    color: #D3C1E5;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    margin-bottom: 10px;
}

.blog-card-excerpt {
    color: #D3C1E5;
}

/* Tips page */
.tips-content {
    max-width: 800px;
    margin: 0 auto;
}

.tip-block {
    margin-bottom: 60px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
}

.tip-block img {
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .feature-box,
    .service-card,
    .step,
    .testimonial {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-content {
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-box,
    .service-card,
    .step,
    .testimonial {
        flex: 1 1 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup button {
        margin: 15px 0 0;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .bordered-box {
        padding: 20px;
    }
}
