/* Main Styles for domain Website */

/* Color Variables */
:root {
    --main-color: #155AFF;     /* Electric Blue */
    --accent-color: #FF6B6B;   /* Coral */
    --bg-color: #F5F5F5;       /* Light Gray */
    --text-color: #2B2B2B;     /* Graphite */
    --element-color: #C0FF00;  /* Acid Lime */
    --white: #FFFFFF;
    --transparent-white: rgba(255, 255, 255, 0.9);
    --transparent-main: rgba(21, 90, 255, 0.8);
    --transparent-bg: rgba(245, 245, 245, 0.85);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--main-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--main-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.btn:hover:before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.btn-outline:hover {
    background: var(--main-color);
    color: var(--white);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--main-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid layout */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--transparent-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.phone-number {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--main-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--main-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--transparent-main), rgba(192, 255, 0, 0.3)), url('../img/UjOHua.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeIn 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.about-image:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid var(--element-color);
    border-right: 3px solid var(--element-color);
}

/* Services Section */
.services {
    background: url('../img/grid-bg.png'), var(--bg-color);
    background-size: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--main-color);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 20px;
}

.service-title {
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.service-title:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--white), var(--bg-color));
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--element-color);
    margin-right: 20px;
    padding: 15px;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    background: var(--white);
    position: relative;
}

.testimonial-grid {
    position: relative;
}

.testimonial {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.9rem;
    color: var(--main-color);
}

/* Form Section */
.contact {
    background: linear-gradient(135deg, var(--bg-color), var(--white));
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../img/grid-bg.png');
    background-size: 20px;
    opacity: 0.1;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--main-color);
    outline: none;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232B2B2B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-input {
    margin-top: 5px;
    margin-right: 10px;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    position: relative;
}

.checkbox-input:checked:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--main-color);
    border-radius: 2px;
}

.checkbox-label a {
    border-bottom: 1px dashed var(--main-color);
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 30px;
    background: var(--bg-color);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--main-color);
    color: var(--white);
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-question.active:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.faq-answer-content {
    padding: 20px 0;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer-title {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--element-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--element-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 15px;
    color: var(--element-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--transparent-white);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    max-width: 400px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-popup.active {
    opacity: 1;
    visibility: visible;
}

.cookie-popup-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.cookie-popup-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cookie-popup-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* Policy Pages */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.policy-container:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
    border-radius: var(--border-radius) 0 0 0;
}

.policy-container:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--element-color);
    border-right: 3px solid var(--element-color);
    border-radius: 0 0 var(--border-radius) 0;
}

.policy-title {
    margin-bottom: 30px;
    color: var(--main-color);
    text-align: center;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-subtitle {
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.policy-subtitle:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

/* Thank You Page */
.thank-you {
    padding: 150px 0;
    text-align: center;
}

.thank-you-box {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 30px;
}

.thank-you-title {
    margin-bottom: 20px;
    color: var(--main-color);
}

.thank-you-subtitle {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    .grid-3, .grid-4, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .grid-2, .grid-3, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 0 0 20px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .thank-you-box {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Custom Classes */
.text-main {
    color: var(--main-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-element {
    color: var(--element-color);
}

.text-center {
    text-align: center;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}
