/* Global Styles & Variables */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Inter-Light.woff2') format('woff2'), url('../fonts/Inter-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.woff2') format('woff2'), url('../fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Inter-Medium.woff2') format('woff2'), url('../fonts/Inter-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2'), url('../fonts/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

:root {
    --text-color-dark: #1a1a1a;
    --text-color-light: #f5f5f5;
    --bg-light: #ffffff;
    --bg-dark: #111111;
    --accent-color: #58a39e;
    /* Teal hue from logo */
    --font-heading: 'Didot PK', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.6s;
    --header-height: 80px;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    background-color: transparent;
    mix-blend-mode: difference;
    color: #fff;
    transition: background-color 0.3s ease;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

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

/* Hamburger Menu - Pro Studio Group Style */
.menu-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.hamburger-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.hamburger-icon {
    width: 26px;
    height: 18px;
    position: relative;
    /* Removed flex to allow absolute positioning of spans */
}

.hamburger-icon span {
    display: block;
    height: 1px;
    background-color: #b3b3b3;
    /* Pro Studio Group Grey */
    position: absolute;
    transition: all 0.25s ease-in-out;
}

/* Line 1: Top, 50% width, Left aligned */
.hamburger-icon span:nth-child(1) {
    top: 0;
    width: 50%;
    /* 13px */
    left: 0;
}

/* Line 2: Middle, 100% width */
.hamburger-icon span:nth-child(2) {
    top: 8px;
    /* Approx 50% of 18px container */
    width: 100%;
    left: 0;
}

/* Line 3: Bottom, 50% width, Right aligned */
.hamburger-icon span:nth-child(3) {
    top: 16px;
    /* Bottom */
    width: 50%;
    right: 0;
    left: auto;
}

/* Hover State: All lines become full width */
.menu-trigger:hover .hamburger-icon span {
    width: 100%;
}

/* Menu Active State Animation - Forms a perfect X */
body.menu-open .hamburger-icon span:nth-child(1) {
    top: 9px;
    width: 100%;
    transform: rotate(135deg);
}

body.menu-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -15px;
    /* Slide out effect */
}

body.menu-open .hamburger-icon span:nth-child(3) {
    top: 9px;
    width: 100%;
    transform: rotate(-135deg);
}

/* Navigation Overlay - SieMatic Style */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    /* Changed to White */
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.nav-content {
    display: flex;
    width: 80%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--text-color-dark);
    /* Changed to Dark */
    transform: translateY(20px);
    transition: transform var(--transition-speed) ease 0.1s;
}

body.menu-open .nav-content {
    transform: translateY(0);
}

.main-nav ul {
    list-style: none;
}

.main-nav ul li {
    margin-bottom: 20px;
    overflow: hidden;
    /* For text reveal animation */
}

.main-nav ul li a {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-color-dark);
    /* Changed to Dark (Black) */
    display: block;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

body.menu-open .main-nav ul li a {
    transform: translateY(0);
}

/* Staggered delay for menu items */
body.menu-open .main-nav ul li:nth-child(1) a {
    transition-delay: 0.1s;
}

body.menu-open .main-nav ul li:nth-child(2) a {
    transition-delay: 0.2s;
}

body.menu-open .main-nav ul li:nth-child(3) a {
    transition-delay: 0.3s;
}

body.menu-open .main-nav ul li:nth-child(4) a {
    transition-delay: 0.4s;
}

body.menu-open .main-nav ul li:nth-child(5) a {
    transition-delay: 0.5s;
}

body.menu-open .main-nav ul li:nth-child(6) a {
    transition-delay: 0.6s;
}

body.menu-open .main-nav ul li:nth-child(7) a {
    transition-delay: 0.7s;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

.nav-secondary {
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-size: 0.9rem;
    margin-top: 20px;
}

.nav-secondary h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--accent-color);
}

.nav-social {
    display: flex;
    gap: 20px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

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

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    /* Overlay for readability */
}

/* Intro Title Section (Debajo del video) */
.intro-title-section {
    text-align: center;
    padding: 70px 25px 45px;
    background-color: var(--bg-light);
    color: var(--text-color-dark);
}

.intro-title-section h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 22px;
    color: var(--text-color-dark);
}

.intro-title-section .divider {
    margin: 0 auto 22px auto;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.intro-title-section p {
    font-size: 1.15rem;
    line-height: 1.6;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content-section {
    display: flex;
    min-height: 80vh;
    width: 100%;
    max-width: 100vw;
}

.content-section.light {
    background-color: var(--bg-light);
    color: var(--text-color-dark);
}

.content-section.dark {
    background-color: var(--bg-dark);
    color: var(--text-color-light);
    flex-direction: row-reverse;
    /* Alternate layout */
}

.text-column,
.image-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-column {
    padding: 80px;
    max-width: 50%;
}

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

.image-column picture {
    display: block;
    width: 100%;
    height: 100%;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.content-section:hover .image-column img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.text-column h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.text-column p {
    margin-bottom: 40px;
    font-size: 1rem;
    color: inherit;
    opacity: 0.8;
}

.btn-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: fit-content;
}

.btn-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.site-footer {
    color: #000000;
    background-color: #f9f9f9;
    padding: 80px 40px 40px;
    width: 100%;
    max-width: 100vw;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
    border-bottom: 1px solid #000;
    /* Black border */
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 40px;
    color: #000000;
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links .col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    color: #000000;
    /* Black heading */
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-links a {
    color: #000000;
    /* Black links */
    opacity: 1;
    /* Remove opacity */
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    color: #000000;
    opacity: 1;
    /* Remove opacity */
    font-size: 0.8rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .content-section {
        flex-direction: column !important;
        /* Stack columns on tablet/mobile */
        min-height: auto;
    }

    .text-column {
        max-width: 100%;
        padding: 60px 40px;
        order: 1;
        /* Text first? or Image first? Let's keep structure */
    }

    .image-column {
        height: 50vh;
        order: 2;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-content {
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }

    .main-nav ul li a {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .text-column {
        padding: 40px 20px;
    }

    .footer-links {
        gap: 30px;
    }

    .site-footer {
        padding: 40px 20px 30px;
    }

    .intro-title-section {
        padding: 45px 20px 30px;
    }

    .intro-title-section h1 {
        font-size: 2.1rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .intro-title-section .divider {
        margin: 0 auto 16px auto;
        width: 45px;
    }

    .intro-title-section p {
        font-size: 0.95rem;
        letter-spacing: 1.2px;
        line-height: 1.55;
    }
}

/* Small mobile devices (320px and up) */
@media (max-width: 480px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .intro-title-section {
        padding: 35px 15px 25px;
    }

    .intro-title-section h1 {
        font-size: 1.65rem;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .intro-title-section .divider {
        margin: 0 auto 14px auto;
        width: 35px;
    }

    .intro-title-section p {
        font-size: 0.82rem;
        letter-spacing: 0.8px;
        line-height: 1.5;
    }

    .site-header {
        padding: 0 15px;
        height: 60px;
    }

    .logo a {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hamburger-text {
        font-size: 0.7rem;
    }

    .menu-trigger {
        gap: 8px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .hero-content {
        padding: 15px;
    }

    .text-column {
        padding: 30px 15px;
    }

    .text-column h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .text-column p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .nav-content {
        width: 90%;
        gap: 30px;
    }

    .main-nav ul li a {
        font-size: 1.5rem;
    }

    .main-nav ul li {
        margin-bottom: 12px;
    }

    .nav-secondary {
        font-size: 0.8rem;
        gap: 20px;
    }

    .site-footer {
        padding: 30px 15px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .footer-logo {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links .col {
        gap: 8px;
    }

    .footer-links h4 {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .contentteaser-wrap {
        width: auto;
        margin: 30px 10px;
        padding: 10px;
    }

    .contentteaser-wrap .content,
    .contentteaser-wrap .media {
        min-width: unset;
        width: 100%;
    }

    .contentteaser-wrap .a-heading {
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 60px 15px;
    }

    .contact-section h1 {
        font-size: 2.2rem !important;
    }

    .contact-info,
    .contact-form-wrap {
        min-width: unset;
        width: 100%;
    }

    .contact-form-wrap {
        padding: 0;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .map-section {
        height: 300px;
    }
}


/* Gaggenau Style Content Teaser */
@font-face {
    font-family: 'DD';
    src: url('../fonts/dd.woff2') format('woff2'), url('../fonts/dd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DD Light';
    src: url('../fonts/dd-light.woff2') format('woff2'), url('../fonts/dd-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.contentteaser-wrap {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #1a1a1a;
    padding: 20px;
    width: 60%;
    /* Requested 60% width */
    margin: 80px auto;
    /* Centered */
    background-color: transparent;
    align-items: center;
}

.contentteaser-wrap.media-right {
    flex-direction: row;
}

.contentteaser-wrap .content {
    flex: 1;
    padding: 10px;
    min-width: 0;
}

.contentteaser-wrap .media {
    flex: 2;
    padding: 10px;
    min-width: 0;
}

.contentteaser-wrap .media img {
    width: 100%;
    height: auto;
    display: block;
}

.contentteaser-wrap .content-inner {
    max-width: 400px;
}

.contentteaser-wrap .a-heading {
    font-family: 'DD Light', serif;
    /* Requested light font */
    font-size: 2.3rem;
    /* Reduced size */
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contentteaser-wrap p {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.contentteaser-wrap .a-button {
    display: inline-block;
    border: 1px solid currentColor;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contentteaser-wrap .a-button:hover {
    background-color: var(--text-color-dark);
    color: var(--bg-light);
}

/* Responsive adjustment for teaser */
@media (max-width: 900px) {
    .contentteaser-wrap.media-right {
        flex-direction: column-reverse;
        padding: 10px 10px 40px 10px;
        /* 10px top/sides, 40px bottom */
        margin: 40px 20px 40px 20px;
        /* 40px top/bottom, 20px sides */
        width: auto;
        /* Reset width to fill space minus margins */
    }

    .contentteaser-wrap .media,
    .contentteaser-wrap .content {
        flex: auto;
        width: 100%;
        padding: 0;
    }

    .contentteaser-wrap .content {
        padding: 20px 0 0 0;
        /* Top spacing from image only */
    }

    .contentteaser-wrap .a-heading {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    /* Center text as requested */
}

.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center columns */
    gap: 60px;
    margin-top: 60px;
}

.contact-info,
.contact-form-wrap {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.contact-form-wrap {
    padding: 0 40px;
    /* More side margin/padding for form */
}

.contact-info h3 {
    font-family: 'DD', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: normal;
}

.contact-info p {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    margin-bottom: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s ease;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    outline: none;
    border-bottom-color: var(--text-color-dark);
}

.contact-form-wrap button {
    background-color: transparent;
    border: 1px solid var(--text-color-dark);
    color: var(--text-color-dark);
    padding: 15px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-wrap button:hover {
    background-color: var(--text-color-dark);
    color: var(--bg-light);
}

@media (max-width: 768px) {
    .contact-wrap {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-form-wrap {
        padding: 0 10px;
    }
}

/* Map Section */
.map-section {
    width: 100%;
    height: 450px;
    filter: grayscale(100%);
    /* Elegant B&W map */
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@font-face {
    font-family: 'Didot PK';
    src: url('../fonts/didot.woff2') format('woff2'), url('../fonts/didot.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* PK Section */
.pk-section {
    padding: 80px 40px;
    background-color: var(--bg-light);
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.pk-heading {
    font-family: 'Didot PK', serif;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: var(--text-color-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.pk-card {
    border: 1px solid #777;
    padding: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.pk-card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.pk-card-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color-dark);
    margin-bottom: 10px;
    text-align: center;
}

/* iPad and tablets - keep 3 columns */
@media (max-width: 1024px) {
    .pk-section {
        padding: 60px 20px;
    }

    .pk-heading {
        font-size: 2rem;
    }

    .pk-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Small tablets - stack to 1 column */
@media (max-width: 768px) {
    .pk-section {
        padding: 50px 15px;
    }

    .pk-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .pk-heading br {
        display: none;
    }

    .pk-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin: 0 auto;
    }

    .pk-card {
        padding: 12px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .pk-section {
        padding: 40px 10px;
    }

    .pk-heading {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .pk-grid {
        gap: 15px;
        max-width: 100%;
    }

    .pk-card {
        padding: 10px;
    }
}