/* Fonts from original site */
/* Open Sans is handled by css/fonts.css of the main project */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-v13-latin-regular.eot');
    src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'),
        url('../fonts/playfair-display-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/playfair-display-v13-latin-regular.woff2') format('woff2'),
        url('../fonts/playfair-display-v13-latin-regular.woff') format('woff'),
        url('../fonts/playfair-display-v13-latin-regular.ttf') format('truetype'),
        url('../fonts/playfair-display-v13-latin-regular.svg#PlayfairDisplay') format('svg');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v12-latin-regular.eot');
    src: local('Raleway'), local('Raleway-Regular'),
        url('../fonts/raleway-v12-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/raleway-v12-latin-regular.woff2') format('woff2'),
        url('../fonts/raleway-v12-latin-regular.woff') format('woff'),
        url('../fonts/raleway-v12-latin-regular.ttf') format('truetype'),
        url('../fonts/raleway-v12-latin-regular.svg#Raleway') format('svg');
}

/* Base Styles Overrides for Wedding Page */
.hochzeit-wrapper {
    font: 400 14px/1.8 "Open Sans", sans-serif;
    color: #666;
    -webkit-font-smoothing: antialiased;
}

.hochzeit-wrapper h1 {
    font-family: "Raleway";
    font-size: 20px;
    letter-spacing: 0.08em;
    text-align: center;
    color: #b19f9c;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
}

.hochzeit-wrapper h1 em {
    display: inline-block;
    font-size: 34px;
    font-style: normal;
    font-family: "Playfair Display";
    color: #b19f9c;
    letter-spacing: 0.04em;
    margin-bottom: 15px;
    text-transform: none;
}

@media (min-width: 600px) {
    .hochzeit-wrapper h1 em {
        font-size: 44px;
    }
}

.hochzeit-wrapper h2 {
    font-family: "Raleway";
    font-size: 20px;
    letter-spacing: 0.08em;
    text-align: center;
    color: #b19f9c;
    text-transform: uppercase;
}

.hochzeit-wrapper h2 em {
    display: inline-block;
    font-size: 34px;
    font-style: normal;
    font-family: "Playfair Display";
    letter-spacing: 0.04em;
    margin-bottom: 15px;
    text-transform: none;
}

.hochzeit-wrapper h2:after {
    display: block;
    content: "";
    margin: 10px auto 30px;
    height: 2px;
    width: 80px;
    background-color: #b19f9c;
}

@media (min-width: 600px) {
    .hochzeit-wrapper h2 em {
        font-size: 44px;
    }
}

/* Header Parallax & Layout */
header.hochzeit-header {
    width: 100%;
    height: 100vh;
    /* Full viewport height like original 'height:100%' on body/html */
    display: table;
    background: url('../img/hochzeit/hochzeitsfotografie/hochzeit-garmisch.jpg');
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    background-color: #000;
}

header.hochzeit-header .cell {
    display: table-cell;
    vertical-align: middle;
}

header.hochzeit-header .home-title {
    color: #fff !important;
    /* Force white color for header title */
    text-transform: none;
    /* Changed from uppercase to none for CamelCase/Natural Case */
    font-family: 'Playfair Display', serif !important;
    /* Changed to Playfair Display */
    font-size: 3rem;
    /* Reduced from 3.5rem to 3rem */
    line-height: 1.2;
}

@media (max-width: 768px) {
    header.hochzeit-header .home-title {
        font-size: 2rem;
        /* Adjusted for mobile */
    }
}

/* Call to Action Button */
.border-btn {
    border: 1px solid white;
    padding: 10px 20px;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.border-btn:hover {
    background: #fff;
    color: #000;
}

/* Sections */
#main,
#gallery,
#preise,
#fotograf,
#alben,
#afterwedding,
#kontakt {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    /* Ensure sections are relative for absolute children */
}

/* Gallery Preview Styles */
.padding-null {
    padding: 0;
}

.img-width {
    overflow: hidden;
}

.img-width img {
    width: 100%;
    opacity: 0.85;
    transition: all 1s ease;
}

.img-width img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-link {
    border: 2px solid #fff;
    font-weight: bold;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px 35px;
    color: #fff;
    text-decoration: none;
    transition: all 0.125s ease !important;
    display: inline-block;
    position: relative;
    letter-spacing: 0.1em;
}

.gallery-link:hover {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.center-link {
    /* Centering logic handled by Flexbox in Bootstrap 5 usually, 
       but preserving original absolute positioning idea if needed 
    */
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through if needed, but the link needs events. */
    z-index: 10;
    /* Ensure it is above images */
}

.center-link a {
    pointer-events: auto;
}

/* Placeholder Parallax */
#placeholder {
    height: 300px;
    overflow: hidden;
    position: relative;
}

#placeholder img {
    width: 100%;
    min-height: 400px;
    /* Ensure enough height for parallax */
    object-fit: cover;
}

/* Testimonials Slider */
#slider {
    width: 100%;
    height: 400px;
    /* Increased height to accommodate content */
    background-color: #000;
    background-image: url('../img/hochzeit/slider-ringe.jpg');
    background-repeat: no-repeat;
    background-position: left center;
    /* Changed to left center */
    background-size: contain;
    /* Changed to contain */
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    color: #eee;
}

#slider .text-muted {
    color: #ccc !important;
    /* Ensure names are visible on black background (light gray) */
}

#slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.quote {
    height: 25px;
    background: url('../img/hochzeit/quote.png');
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}

#slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.slider-btn {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    cursor: pointer;
}

#prev {
    left: 0;
}

#prev:hover {
    background: url('../img/hochzeit/prev-light.png') no-repeat center left 20px;
}

#next {
    right: 0;
}

#next:hover {
    background: url('../img/hochzeit/next-light.png') no-repeat center right 20px;
}

/* Borderline Divider */
.borderline {
    position: relative;
    background: #eaeaea;
    display: block;
    height: 1px;
    width: 100%;
    margin: 40px 0;
}

.borderline:before {
    position: absolute;
    background: #eaeaea;
    content: "";
    bottom: -7px;
    left: 50%;
    height: 14px;
    width: 14px;
    transform: rotate(45deg);
    margin-left: -7px;
}

.borderline:after {
    position: absolute;
    background: #fff;
    content: "";
    bottom: -5px;
    left: 50%;
    height: 16px;
    width: 16px;
    transform: rotate(45deg);
    margin-left: -8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header.hochzeit-header {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
}