/*
Theme Name: Dutch Global Media
Theme URI: https://dutchglobalmedia.com
Description: Custom one-page WordPress theme for Dutch Global Media - PR & Communication Agency
Author: Dutch Global Media
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dgm-theme
*/

/* ===================================
   CSS RESET & BASE
   =================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Lora', serif;
    background-color: #F8F6F3;
    color: #1a1a1a;
    line-height: 2.0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

p {
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

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

a:hover {
    color: #b8945f;
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}

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

/* ===================================
   NAVIGATION
   =================================== */

.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #F8F6F3;
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-width: 260px;
    height: auto;
}

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

.nav-menu li:last-child a {
    margin-left: 1rem;
}

.nav-menu a {
    color: #1a2942;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.nav-menu a:hover {
    color: #c9a675;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a2942;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    box-sizing: border-box;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 1rem;
}

.hero-content {
    color: white;
    max-width: 100%;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.hero-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.hero-link:hover {
    color: #c9a675;
    border-bottom-color: #c9a675;
}

.cta-button,
a.cta-button,
a.cta-button:link,
a.cta-button:visited,
a.cta-button:hover,
a.cta-button:active,
a.cta-button:focus {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #c9a675;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.cta-button:hover,
a.cta-button:hover {
    background-color: #b8945f !important;
    color: white !important;
    border: 0 !important;
    outline: 0 !important;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    background-image: url('assets/images/background-office.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 4rem 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 41, 66, 0.92);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section h2 {
    color: white;
}

.about-text-centered {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-text-centered p {
    font-size: 1.05rem;
}

.small-border {
    width: 50px;
    border-top: 2px solid #c9a675;
    margin: 1.5rem 0;
}

.section-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: white;
}

.section-separator .small-border {
    margin: 0 auto;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    padding: 4rem 0;
    background-color: #F8F6F3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid #c9a675;
    cursor: pointer;
    user-select: none;
}

.service-icon {
    font-size: 2rem;
    color: #c9a675;
    pointer-events: none;
}

.service-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    font-weight: 500;
    pointer-events: none;
}

.service-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1rem;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.service-content.show {
    max-height: 400px;
    opacity: 1;
    padding: 0.5rem 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    padding: 0.2rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #444;
    line-height: 1.4;
}

.service-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 1rem 0;
}

/* ===================================
   CLIENTS SECTION
   =================================== */

.clients-section {
    padding: 2rem 0 1rem 0;
    background-color: white;
}

.clients-list {
    max-width: 90%;
    margin: 3rem auto;
    line-height: 2.2;
    font-size: 1rem;
    color: #444;
}

.clients-list a,
.clients-list .client-name {
    color: #c9a675;
    font-size: 1rem;
    transition: color 0.2s ease;
    cursor: pointer;
}

.clients-list a:hover {
    color: #b8945f;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
    padding: 0.5rem 0 1.5rem 0;
    background-color: white;
}

.testimonials-section h2 {
    color: #1a1a1a;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    min-height: 150px;
}

.testimonial {
    margin: 1rem 0;
    padding: 0 2rem;
    border: none;
    opacity: 0;
    display: none;
    transition: opacity 0.6s ease-in-out;
}

.testimonial.active {
    opacity: 1;
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

.testimonial.fade-out {
    animation: fadeOut 0.6s ease-in-out;
}

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

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

.testimonial p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #888;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    padding: 2rem 0 1rem 0;
    background-image: url('assets/images/background-events.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 41, 66, 0.92);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 1.5rem auto 0.5rem;
    max-width: 1200px;
}

.contact-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-column li {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.contact-column a {
    color: #c9a675;
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-column a:hover {
    color: #b8945f;
}

/* ===================================
   CONTACT FORM SECTION
   =================================== */

.contact-form-section {
    background-color: white;
    padding: 4rem 0;
    letter-spacing: 0.075em;
}

.contact-form-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #444;
}

.contact-form {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

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

.form-column-left .form-group:last-child {
    margin-bottom: 0;
}

.form-column-right .form-group {
    margin-bottom: 0;
    height: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    background-color: rgba(0, 0, 0, 0.045);
    border-radius: 0;
    color: #444;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    transition: 0.1s ease-in-out;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #e0c6a5;
    font-size: 0.9em;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: none;
    border-left: 3px solid #d3ae7f;
    box-shadow: none;
}

.contact-form textarea {
    resize: vertical;
    height: 100%;
}

.form-submit {
    display: block;
    margin: 2rem auto 0;
    padding: 0.5rem 1rem;
    background-color: #FAFAFA;
    color: #d3ae7f;
    border: 2px solid #d3ae7f;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    font-family: 'Lora', serif;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #d3ae7f;
    color: white;
}

@media (min-width: 1000px) {
    .form-submit {
        width: 100%;
    }
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background-image: url('assets/images/background-events.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 41, 66, 0.95);
    z-index: 1;
}

.site-footer .social-links,
.site-footer .footer-text {
    position: relative;
    z-index: 2;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #c9a675;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-text a {
    color: #c9a675;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #c9a675;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #F8F6F3;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
    }

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

    .mobile-menu-toggle {
        display: block;
    }
}

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

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

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

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        height: 90vh;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    .about-text-centered {
        padding: 0 1rem;
    }

    .about-section,
    .contact-section {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Text Styles - Mobile First */
.hero-main-title {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-family: 'Lora', serif;
}

.hero-main-subtitle {
    font-size: 0.65rem;
    color: white;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    line-height: 1.4;
    font-family: 'Lora', serif;
}

.mobile-text {
    display: inline;
}

.desktop-text {
    display: none;
}

@media only screen and (min-width: 769px) {
    .mobile-text {
        display: none !important;
    }

    .desktop-text {
        display: inline !important;
    }
}
