/* Main CSS for South Gate URC B.V. Website */
/* Colors:
   - Primary Blue (EU Blue): #003399
   - Secondary Orange (Dutch Orange): #FF6600
   - Accent Red (from logo): #E6004C
   - Light Gray: #f5f5f5
   - Dark Gray: #333333
   - White: #ffffff
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #003399;
    transition: all 0.3s ease;
}

a:hover {
    color: #E6004C;
}

.btn {
    display: inline-block;
    background-color: #E6004C;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #003399;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #003399;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E6004C;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-selector select {
    background-color: transparent;
    border: 1px solid #E6004C;
    color: #333333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background-color: #f5f5f5;
}

.language-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 0, 76, 0.2);
}

.logo {
    width: 180px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #E6004C;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #E6004C;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: #ffffff;
    text-align: center;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 153, 0.8), rgba(0, 51, 153, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Services Overview Section */
.services-overview {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 3.5rem;
    color: #E6004C;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.services-cta {
    text-align: center;
}

/* About Preview Section */
.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Service Principles Section */
.service-principles {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}

.principle {
    flex-basis: 30%;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.principle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.principle-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E6004C;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
    border: 2px solid #E6004C;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.principle-content p {
    margin-bottom: 0;
    font-weight: 500;
    color: #003399;
}

/* Testimonials Section */
.testimonials {
    background-color: #003399;
    color: #ffffff;
}

.testimonials h2 {
    color: #ffffff;
}

.testimonials h2:after {
    background-color: #FF6600;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial:before {
    content: '\201C';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: rgba(255, 255, 255, 0.2);
    font-family: serif;
}

.quote p {
    font-style: italic;
    margin-bottom: 20px;
}

.client p {
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(230, 0, 76, 0.9), rgba(230, 0, 76, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    padding: 100px 0;
}

.cta h2 {
    color: #ffffff;
}

.cta h2:after {
    background-color: #ffffff;
}

.cta .btn {
    background-color: #ffffff;
    color: #E6004C;
}

.cta .btn:hover {
    background-color: #003399;
    color: #ffffff;
}

/* Footer Styles */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #E6004C;
    bottom: -10px;
    left: 0;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #cccccc;
}

.footer-links ul li a:hover {
    color: #FF6600;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #E6004C;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #cccccc;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .language-selector {
        margin-left: 0;
        margin-right: 15px;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .testimonial-slider,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Contact Page Styles */
.contact-section {
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: #E6004C;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Map Info Styles */
.map-info {
    margin-top: auto;
    margin-bottom: 0;
}

.map-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #003399;
}

.map-info .map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Modern Contact Form Styles */
.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #003399;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 51, 153, 0.2);
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    background-color: #E6004C;
    box-shadow: 0 4px 15px rgba(230, 0, 76, 0.3);
    margin-top: auto;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 0, 76, 0.4);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* About Us Page Styles */
.about-company {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

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

.about-content h2:after {
    left: 0;
    transform: none;
}

.about-content-full {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-content-full h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-content-full h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.values-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 4rem;
    color: #E6004C;
}

/* Services Detail Page Styles */
.services-detail {
    background-color: #ffffff;
}

.service-item {
    display: flex;
    margin-bottom: 60px;
    align-items: flex-start;
}

.service-icon {
    margin-right: 30px;
    font-size: 4.5rem;
    color: #E6004C;
    background-color: #f9f9f9;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(230, 0, 76, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(230, 0, 76, 0.2);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #003399;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #E6004C;
    position: absolute;
    left: 0;
    top: 2px;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .service-features li {
        padding-left: 0;
    }
    
    .service-features li:before {
        position: static;
        margin-right: 10px;
    }
}