/**
 * Omnikore Theme Main Styles
 * Based on Omnikore Brand Guidelines
 *
 * Color Palette:
 * - Navy (Background): #1a2e47
 * - Cyan (Accent 1): #5ddbdb
 * - Gold (Accent 2): #d4a373
 * - Dark Blue: #264653
 * - White: #ffffff
 *
 * @package Omnikore
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Brand Colors */
    --color-navy: #1a2e47;
    --color-cyan: #5ddbdb;
    --color-gold: #d4a373;
    --color-dark-blue: #264653;
    --color-white: #ffffff;

    /* Shades */
    --color-navy-light: #2a3e57;
    --color-navy-dark: #0a1e37;
    --color-cyan-light: #7de5e5;
    --color-cyan-dark: #3dc1c1;
    --color-gold-light: #e4b383;
    --color-gold-dark: #c49363;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 40px;
}

/* ========================================
   General Styles
   ======================================== */
body {
    font-family: var(--font-primary);
    color: var(--color-white);
    background-color: var(--color-navy);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
}

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-cyan-light);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subheading {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cyan);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: rgba(26, 46, 71, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(93, 219, 219, 0.1);
}

.header.scrolled {
    background: rgba(26, 46, 71, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .logo img {
    max-height: 60px;
    transition: all 0.3s ease;
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar li {
    position: relative;
    margin-left: 30px;
}

.navbar a {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
}

.navbar a:hover,
.navbar .active > a {
    color: var(--color-cyan);
}

.navbar .dropdown ul {
    display: none;
    position: absolute;
    background: var(--color-navy-light);
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    top: 100%;
    left: 0;
    min-width: 200px;
}

.navbar .dropdown:hover > ul {
    display: block;
}

.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    color: var(--color-white);
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark-blue) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 46, 71, 0.9) 0%, rgba(38, 70, 83, 0.8) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--color-cyan);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero p,
.hero .hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero .btn-get-started {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: var(--color-navy);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 219, 219, 0.3);
}

.hero .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(93, 219, 219, 0.4);
    color: var(--color-navy);
}

.hero .btn-watch-video {
    color: var(--color-white);
    padding: 14px 35px;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero .btn-watch-video:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.hero-img img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

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

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero .btn-get-started,
    .hero .btn-watch-video {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--color-navy-dark);
}

.about .content .subheading {
    color: var(--color-gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.about .content h2 {
    margin-bottom: 30px;
}

.about .content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about .why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about .why-us-list li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
}

.about .why-us-list i {
    font-size: 24px;
    color: var(--color-cyan);
    margin-right: 15px;
    flex-shrink: 0;
}

.about .why-us-list strong {
    color: var(--color-white);
    font-weight: 600;
}

.about img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--color-navy);
}

.features .feature-item {
    background: var(--color-navy-light);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(93, 219, 219, 0.1);
}

.features .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(93, 219, 219, 0.2);
    border-color: var(--color-cyan);
}

.features .feature-item .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.features .feature-item .icon i {
    font-size: 32px;
    color: var(--color-navy);
}

.features .feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.features .feature-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================
   Verticals Section
   ======================================== */
.verticals {
    background: var(--color-navy-dark);
}

.verticals .vertical-item {
    background: var(--color-navy-light);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--color-cyan);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.verticals .vertical-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.verticals .vertical-item .icon {
    width: 80px;
    height: 80px;
    background: rgba(93, 219, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.verticals .vertical-item .icon i {
    font-size: 36px;
}

.verticals .vertical-item h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.verticals .vertical-item img {
    border-radius: 8px;
    margin-bottom: 20px;
}

.verticals .vertical-item .vertical-content {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    flex-grow: 1;
}

.verticals .vertical-item .btn-learn-more {
    color: var(--color-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.verticals .vertical-item .btn-learn-more:hover {
    color: var(--color-cyan-light);
    transform: translateX(5px);
}

.verticals .vertical-item .btn-learn-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.verticals .vertical-item:hover .btn-learn-more i {
    transform: translateX(3px);
}

.verticals .vertical-item .powered-by {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.verticals .vertical-item .powered-by strong {
    color: var(--color-cyan);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-navy) 100%);
    padding: 80px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%235ddbdb" fill-opacity="0.05" d="M1200 120L0 16.48V0h1200v120z"/></svg>') no-repeat center;
    opacity: 0.3;
}

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

.cta h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.cta .cta-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-navy);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 163, 115, 0.3);
}

.cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 163, 115, 0.4);
    color: var(--color-navy);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--color-navy);
}

.contact .info-item {
    background: var(--color-navy-light);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(93, 219, 219, 0.1);
}

.contact .info-item:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 5px 20px rgba(93, 219, 219, 0.1);
}

.contact .info-item i {
    font-size: 36px;
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.contact .info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.contact .info-item p,
.contact .info-item a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact .info-item a:hover {
    color: var(--color-cyan);
}

/* Contact Form (Contact Form 7) */
.contact .wpcf7-form-control {
    width: 100%;
    padding: 12px 20px;
    background: var(--color-navy-light);
    border: 1px solid rgba(93, 219, 219, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(93, 219, 219, 0.1);
}

.contact .wpcf7-submit {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: var(--color-navy);
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(93, 219, 219, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-navy-dark);
    padding-top: 60px;
}

.footer-content {
    padding-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(93, 219, 219, 0.1);
    color: var(--color-cyan);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--color-cyan);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.footer .footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

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

.footer .footer-links ul li {
    padding: 8px 0;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

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

.footer .footer-links ul i {
    margin-right: 8px;
    font-size: 12px;
}

.footer-legal {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 40px;
}

.footer-legal .copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal .social-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.footer-legal .social-links a:hover {
    color: var(--color-cyan);
}

/* ========================================
   Scroll Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background: var(--color-cyan);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 219, 219, 0.3);
}

.scroll-top:hover {
    background: var(--color-cyan-light);
    transform: translateY(-5px);
}

.scroll-top i {
    font-size: 24px;
    color: var(--color-navy);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   Page & Blog Styles
   ======================================== */
.page-section,
.blog-section {
    padding: 80px 0;
    min-height: 60vh;
}

.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    color: var(--color-white);
    margin-bottom: 20px;
}

.entry-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.entry-featured-image {
    margin-bottom: 30px;
}

.entry-featured-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.entry-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--color-cyan);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--color-cyan-light);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.read-more {
    color: var(--color-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--color-cyan-light);
}

.read-more i {
    margin-left: 5px;
}

/* ========================================
   Error 404 Page
   ======================================== */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 .display-1 {
    font-size: 8rem;
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.error-404 h2 {
    margin-bottom: 20px;
}

.error-404 p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.error-404 .btn-primary {
    background: var(--color-cyan);
    color: var(--color-navy);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.error-404 .btn-primary:hover {
    background: var(--color-cyan-light);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

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

    .cta h3 {
        font-size: 2rem;
    }

    .error-404 .display-1 {
        font-size: 5rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-cyan {
    color: var(--color-cyan) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

.bg-navy {
    background-color: var(--color-navy) !important;
}

.bg-navy-dark {
    background-color: var(--color-navy-dark) !important;
}

.bg-navy-light {
    background-color: var(--color-navy-light) !important;
}

/* ========================================
   WordPress Admin Bar Fix
   ======================================== */
.admin-bar .header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px !important;
    }
}

/* Scroll-Offset für Admin Bar bei Anchor-Links */
.admin-bar .hero,
.admin-bar .about,
.admin-bar .features,
.admin-bar .verticals,
.admin-bar .cta,
.admin-bar .contact {
    scroll-margin-top: 120px;
}
