/* SADEQ Global - Modern Professional Design */

:root {
    --camel-light: #D2B48C;
    --camel: #C19A6B;
    --camel-dark: #8B6914;
    --brown: #8B4513;
    --dark-brown: #5C4033;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #2a2a2a;
    --text-medium: #5a5a5a;
    --text-light: #888888;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--camel);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
}

/* Hero - Full screen impact */
.hero {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 110px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 650px;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--camel);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--brown);
    transform: translateY(-1px);
}

/* Page Hero - Shorter */
.page-hero {
    height: 35vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-top: 110px;
    overflow: hidden;
}

.page-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(92, 64, 51, 0.3), rgba(92, 64, 51, 0.1));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 3rem;
    width: 100%;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: white;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section-dark {
    background: var(--off-white);
    padding: 2rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 300;
    max-width: 650px;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: var(--camel);
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.2);
    transform: translateY(-3px);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-weight: 300;
}

/* Three Card Overlay Section - Energia Style */
.three-card-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding: 0 0 4rem;
}

.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.overlay-card {
    background: rgba(92, 64, 51, 0.92);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    color: white;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.overlay-card h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--camel);
    width: fit-content;
}

.overlay-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.overlay-card p strong {
    font-weight: 500;
}

.card-link {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--camel);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s;
    width: fit-content;
}

.card-link:hover {
    background: var(--brown);
}

/* Content Blocks - Various layouts */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 0;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-block img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.logo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 4rem;
}

.logo-display img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.content-text h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

/* Full Width Image with Text Overlay */
.full-width-block {
    position: relative;
    height: 500px;
    margin: 5rem 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.full-width-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(93, 78, 55, 0.85), rgba(93, 78, 55, 0.4));
}

.full-width-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
    color: white;
}

.full-width-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.full-width-content p {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 0.8rem;
}

/* Values Section with Background */
.values-section {
    background-image: url('images/pexels-jakub-pabis-147246622-15978384.jpg') !important;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: transparent !important;
}

.values-section .section-title,
.values-section .section-subtitle {
    color: white !important;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.values-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.2);
    border-color: var(--camel);
    transform: translateY(-3px);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.value-card p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-weight: 300;
}

/* Icon Service Section - Energia Style */
.icon-services {
    padding: 2rem 0;
    background: white;
}

.icon-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.icon-service-item {
    text-align: center;
}

.icon-service-item h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.icon-service-item p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: white;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Section - Vitol Style Split Layout */
.feature-section {
    background: white;
    padding: 0;
    margin: 0;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.feature-image {
    position: relative;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
    background: var(--off-white);
}

.feature-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--camel);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.feature-text h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.feature-link {
    color: var(--camel-dark);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.feature-link:hover {
    color: var(--brown);
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: var(--dark-brown);
    color: white;
    text-align: center;
    padding: 5rem 4rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.contact-item p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-form {
    background: var(--off-white);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--camel);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Privacy Policy Content */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content ul li {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.privacy-content a {
    color: var(--camel-dark);
    text-decoration: none;
}

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

/* Footer */
.footer {
    background: var(--dark-brown);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
    
    .three-cards {
        grid-template-columns: 1fr;
    }
    
    .three-card-section {
        margin-top: 0;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container {
        padding: 1.2rem 2rem;
    }

    .logo img {
        height: 65px;
    }

    .hero {
        margin-top: 90px;
        height: 70vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .page-hero {
        margin-top: 90px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero-content {
        padding: 0 2rem 2rem;
    }

    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .full-width-block {
        height: 400px;
        margin: 3rem 0;
    }

    .full-width-content {
        padding: 0 2rem;
    }

    .full-width-content h2 {
        font-size: 2rem;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .feature-text {
        padding: 3rem 2rem;
    }
    
    .feature-text h2 {
        font-size: 2rem;
    }
    
    .icon-services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}