/* Main stylesheet for domain.com */

:root {
    /* Color Palette */
    --bg-main: #0F0E17;
    --accent-amber: #FF8906;
    --accent-coral: #F25F4C;
    --text-primary: #EDEDED;
    --text-secondary: #A7A9BE;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-amber);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-coral);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    background: linear-gradient(to right, var(--accent-amber), var(--accent-coral));
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

/* Header */
header {
    padding: 20px 0;
    background-color: var(--bg-main);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-amber);
}

.nav-desktop {
    display: flex;
    gap: 30px;
}

.nav-desktop a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-amber), var(--accent-coral));
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-amber);
    font-weight: 600;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--accent-amber);
    transition: transform 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 999;
    padding: 60px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    box-sizing: border-box;
}

.mobile-menu a {
    display: block;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 2rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(15, 14, 23, 0.8), rgba(15, 14, 23, 0.9)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 80%;
}

/* Section styling */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-amber), var(--accent-coral));
}

/* About Section */
.about {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 60px;
    margin: 0 auto;
    max-width: 1000px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-amber);
    margin-bottom: 20px;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--accent-coral);
    margin-bottom: 20px;
}

/* Case Studies Section */
.case-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.case-slide {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 0 15px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.case-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(30, 29, 42, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background-color 0.3s ease;
}

.case-nav-btn:hover {
    background-color: var(--accent-amber);
}

/* Contact Form Section */
.form-section {
    background: linear-gradient(rgba(15, 14, 23, 0.8), rgba(15, 14, 23, 0.9)), url('../img/form-bg.jpg');
    background-size: cover;
    background-position: center;
}

.form-container {
    background-color: rgba(30, 29, 42, 0.8);
    border-radius: var(--border-radius);
    padding: 60px;
    max-width: 550px;
    margin: 0 auto;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(167, 169, 190, 0.3);
    background-color: rgba(15, 14, 23, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-amber);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 137, 6, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-top: 5px;
}

.form-grid .btn {
    margin-top: 15px;
    width: 100%;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Footer */
footer {
    background-color: rgba(10, 9, 16, 0.9);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-amber);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 137, 6, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(167, 169, 190, 0.2);
}

/* Policy pages */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    background-color: rgba(30, 29, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(167, 169, 190, 0.2);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    margin-bottom: 20px;
}

/* Thank you page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.thank-you h1 {
    font-size: 4rem;
    margin-bottom: 30px;
}

.thank-you-icon {
    font-size: 6rem;
    color: var(--accent-amber);
    margin-bottom: 30px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--bg-main);
    border: 2px solid var(--accent-amber);
    border-radius: var(--border-radius);
    padding: 30px;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: none;
}

.cookie-popup h3 {
    margin-bottom: 20px;
}

.cookie-popup p {
    margin-bottom: 30px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-desktop, .phone-number {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
        min-height: 80vh;
    }
    
    .hero p {
        max-width: 90%;
    }
    
    .about, .form-container, .policy-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero p {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .services-grid, .why-us-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        max-width: 450px;
        padding: 40px 30px;
    }
    
    .about, .form-container, .policy-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
        background-position: 65% center;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .about, .form-container, .policy-container {
        padding: 20px;
    }
    
    .service-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .service-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    section {
        padding: 60px 0;
        width: 100%;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        justify-content: center;
    }
    
    /* Fix overflow on all sections */
    section, div, nav, footer, header {
        max-width: 100vw;
        overflow-x: hidden;
    }
}
