/* 
   DOMAIN - Účetní služby
   Main stylesheet
*/

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --color-bg-primary: #1F1D36;
    --color-bg-secondary: #2A2B3C;
    --color-bg-tertiary: #383B53;
    --color-accent: #FFBD59;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #CFCFCF;
    --color-button-gradient-start: #FF8C42;
    --color-button-gradient-end: #FF3C38;
    
    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 60px;
    background: var(--color-accent);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(31, 29, 54, 0.9);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.logo span {
    color: var(--color-accent);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu (PHP-based) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: var(--color-bg-secondary);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-items {
    margin-top: 3rem;
    list-style: none;
}

.mobile-menu-item {
    margin-bottom: 1rem;
}

.mobile-menu-link {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(31, 29, 54, 0.9), rgba(42, 43, 60, 0.9)), url('./img/vSvZuU.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-button-gradient-start), var(--color-button-gradient-end));
    color: var(--color-text-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

/* About Section */
.about {
    background-color: var(--color-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item {
    background-color: var(--color-bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--color-bg-primary), var(--color-bg-secondary));
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-tertiary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Benefits Section */
.benefits {
    background-color: var(--color-bg-tertiary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Trust Section */
.trust {
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-primary));
    overflow: hidden;
}

.trust-animation {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    animation: pulse 3s infinite;
}

.trust-circle-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.trust-circle-2 {
    width: 200px;
    height: 200px;
    animation-delay: 0.5s;
}

.trust-circle-3 {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.trust-content {
    text-align: center;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Form Section */
.contact {
    background-color: var(--color-bg-secondary);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg-tertiary);
    padding: 3rem;
    border-radius: 10px;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-bg-tertiary);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border-radius: 5px;
    transition: all 0.3s;
}

select.form-control option {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 189, 89, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-top: 0.3rem;
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--color-bg-primary), var(--color-bg-secondary));
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-bg-tertiary);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-text-primary);
}

.testimonial-company {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--color-bg-tertiary);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-secondary);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    margin-bottom: 0;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.policy-content {
    background-color: var(--color-bg-secondary);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--color-bg-tertiary);
}

.policy-content h1 {
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.policy-content h2 {
    margin-top: 2rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: var(--color-text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    padding: 3rem;
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}