/* PolCreator Custom Styles */
:root {
    --primary-dark: #111111;
    --accent-red: #FF2D2D;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Navbar */
.custom-navbar {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.custom-navbar.scrolled {
    background: rgba(17, 17, 17, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-red) !important;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-light) !important;
}

.nav-link.active {
    color: var(--accent-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.language-switcher {
    cursor: pointer;
}

.language-switcher::after {
    display: none !important;
}

.language-switcher.dropdown-toggle::after {
    display: none !important;
}

.language-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.language-menu .dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-menu .dropdown-item:hover {
    background: var(--accent-red);
    color: var(--text-light);
}

.flag-icon {
    width: 20px;
    height: auto;
}

.btn-cta {
    background: var(--accent-red);
    color: var(--text-light);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.3);
}

.btn-cta:hover {
    background: #e02525;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 45, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #111111 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 45, 45, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-logo {
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.text-accent {
    color: var(--accent-red);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: var(--accent-red);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.3);
}

.btn-primary:hover {
    background: #e02525;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 45, 0.5);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-dark);
    border-color: var(--text-light);
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.about-section,
.services-section,
.contact-section {
    background: var(--bg-dark);
}

.portfolio-section,
.cta-section {
    background: var(--primary-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Cards */
.about-card,
.service-card,
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover,
.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 45, 45, 0.2);
    border-color: var(--accent-red);
}

.about-icon,
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-red), #ff5555);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-light);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: var(--accent-red);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
    background: linear-gradient(135deg, var(--accent-red), #ff5555);
    color: var(--text-light);
}

.portfolio-content h5,
.service-card h5,
.about-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.portfolio-content p,
.service-card p,
.about-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), #1a1a1a);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 45, 45, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-quote {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.btn-cta-large {
    background: var(--accent-red);
    color: var(--text-light);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 45, 45, 0.4);
    display: inline-block;
}

.btn-cta-large:hover {
    background: #e02525;
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 45, 45, 0.6);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--primary-dark);
    border-color: var(--accent-red);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 45, 45, 0.25);
}

.form-control::placeholder {
    color: #666;
}

/* Footer */
.footer-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.footer-brand h5 {
    color: var(--text-light);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.footer-brand p,
.footer-links ul li a,
.contact-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links h6,
.footer-contact h6 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.company-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-red);
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cookie-content p a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
}

.cookie-content p a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accent {
    background: var(--accent-red);
    color: var(--text-light);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accent:hover {
    background: #e02525;
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 0;
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.privacy-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.cookie-settings-content {
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-light);
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

.privacy-scroll {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.privacy-scroll h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-scroll h5 {
    color: var(--accent-red);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.privacy-scroll p,
.privacy-scroll ul {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-scroll ul {
    padding-left: 1.5rem;
}

.privacy-scroll a {
    color: var(--accent-red);
    text-decoration: none;
}

.privacy-scroll a:hover {
    text-decoration: underline;
}

/* Cookie Settings */
.cookie-category {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-header h5 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

.cookie-category p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--accent-red);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-buttons-modal {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.3);
}

.scroll-to-top:hover {
    background: #e02525;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 45, 45, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-up {
    animation: fadeInUp 1s ease-out;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-quote {
        font-size: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .privacy-content {
        width: 95%;
    }

    .privacy-scroll {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn-primary,
    .btn-outline-light {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .cookie-buttons-modal {
        flex-direction: column;
    }

    .cookie-buttons-modal button {
        width: 100%;
    }
}