/*
Theme Name: Euro Talent Denmark
Theme URI: https://euro-talent.dk
Author: Euro Talent Denmark ApS
Author URI: https://euro-talent.dk
Description: Custom theme for Euro Talent Denmark ApS. Clean, professional, minimal.
Version: 1.0.0
License: Proprietary
*/

:root {
  --primary-color: #D32F2F; /* Deep Red from logo */
  --primary-light: #EF5350; /* Light Red/Coral from logo */
  --secondary-color: #FF6B6B; /* Accent coral/pink */
  --background-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
    background: var(--background-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Increased gap */
    margin: 0; /* Remove default margin */
    padding: 0;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none; /* Remove underline on hover for cleaner look */
}

/* Button & CTA */
.btn-apply {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px; /* Pillow shape */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, #B71C1C 0%, var(--primary-color) 100%);
    color: white;
}

/* Main Content */
main {
    padding: 0 0 60px 0; /* Removed top padding to bring breadcrumb/content closer to header */
    min-height: 70vh;
}

/* Footer */
footer {
  background: #f4f4f4;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

/* Page Content Styles */
.page-hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.page-hero h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
}
.page-hero img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.15);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--primary-light)) border-box;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 25px;
    margin-top: 10px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
    transition: all 0.3s ease;
}
.btn:hover {
    background: linear-gradient(135deg, #B71C1C 0%, var(--primary-color) 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.35);
}

/* Media Queries for Responsiveness */
/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .open-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: inline-block;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    /* Header Layout */
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
    }

    .site-branding {
        order: 1;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .header-cta {
        order: 3;
        margin-top: 0;
        display: none; /* Hide CTA on mobile or move to menu */
    }

    /* Mobile Navigation */
    .main-navigation {
        order: 4;
        width: 100%;
        /* display: none; Removed - don't hide container, hide list instead */
        margin-top: 20px;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .main-navigation ul {
        display: none; /* Hidden by default */
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* Show menu when toggled */
    .main-navigation ul.toggled {
        display: flex !important;
        animation: fadeIn 0.3s ease;
    }

    .header-cta.toggled {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        animation: fadeIn 0.3s ease;
        border-top: 1px solid #f9f9f9;
        order: 5; /* Ensure it appears after menu */
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .features-grid, .services-container > div {
        grid-template-columns: 1fr !important; /* Stack vertically */
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature, .service-item {
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature::before, .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Jobs Page Styling */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.1);
    border-color: var(--primary-light);
}

.job-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.job-card p {
    margin-bottom: 10px;
    color: #555;
    flex-grow: 1; /* Pushes button to bottom */
}

.job-card .btn {
    align-self: flex-start;
    margin-top: 20px;
}

/* Apply Now Page Styling */
.apply-page-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 0 20px;
}

.apply-intro {
    text-align: left;
    margin-bottom: 0;
    padding-top: 20px;
}

.apply-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.apply-intro .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.process-steps {
    display: grid; /* Changed to grid for better list layout on side */
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    justify-content: start;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align items */
    width: auto;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    border-radius: 12px; /* Changed to rounded square for modern look */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.1);
}

.step-text {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

/* Responsive adjustments for Apply Page */
@media (max-width: 900px) {
    .apply-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .apply-intro {
        text-align: center;
    }
    
    .process-steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step {
        align-items: center;
        width: 120px;
    }
    
    .step-text {
        text-align: center;
    }
}

/* Contact Form 7 Styling */
.wpcf7 {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

/* Contact Us Page Styling */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details .info-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-details p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.contact-details i {
    color: var(--primary-color);
    width: 30px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.contact-details span {
    color: #666;
    margin-left: 10px;
    display: inline-block;
}

.social-links h3 {
    margin-bottom: 20px;
}

.social-links .icons {
    display: flex;
    gap: 20px;
}

.social-links i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.social-links a:hover i {
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.contact-form-wrapper h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.feature:hover, .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(211, 47, 47, 0.15);
    border-color: var(--primary-light);
}
.feature:hover::before, .service-item:hover::before {
    transform: scaleX(1);
}
.contact-info {
    margin-top: 30px; 
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 35px; 
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.08);
}
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.contact-info i {
    width: 30px;
    text-align: center;
    color: var(--primary-color);
}
.values-list li {
    font-size: 1.1rem;
    padding: 5px 0;
}

/* Icon Styling */
.fa, .fas, .far, .fab {
    color: var(--primary-color);
}

.feature i, .service-item i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Headings with gradient */
h2, h3 {
    color: var(--primary-color);
}

.page-hero h1,
.entry-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative; /* Ensure text doesn't stick */
}

/* Ensure no other element accidentally sticks */
main, .page-hero, .entry-header {
    position: static;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    padding: 8px 0;
    margin-bottom: 0;
    position: relative; /* Ensure it doesn't stick */
    z-index: 1;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    color: var(--primary-color);
    font-size: 0.65rem;
}

.breadcrumb a {
    color: #666;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb i.fa-home {
    margin-right: 5px;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 60px 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.15);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    padding: 80px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.slide-text h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.slide-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    transition: all 0.3s;
}

.slide-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.slide-buttons .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.slide-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.slide-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-container {
        height: auto;
        min-height: 400px;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 20px;
    }
    
    .slide-text h1 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slide-image {
        order: -1;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Footer Styling */
.site-footer {
    background-color: #1a1a1a; /* Darker background for premium feel */
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr; /* Adjusted proportions */
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-branding .footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-branding .footer-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-tagline {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105'; /* FontAwesome angle-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    position: relative;
    background: rgba(255,255,255,0.05);
    padding: 5px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: #888;
}

.newsletter-form .btn-submit {
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    width: 50px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.newsletter-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.site-info {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 900px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .site-info {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}
