/* ==========================================================
   GEORG TORRES 2.0
   STYLE.CSS
   Teil 1
========================================================== */


/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    font-size:18px;

    line-height:1.8;

    color:#303030;

    background:#faf6ef;

    overflow-x:hidden;

}



/* ===========================
   FARBPALETTE
=========================== */

:root{

    --wine:#7b1e2b;

    --gold:#c7a24a;

    --cream:#faf6ef;

    --white:#ffffff;

    --turquoise:#6eaeb4;

    --text:#303030;

    --grey:#777777;

    --shadow:0 20px 50px rgba(0,0,0,.12);

}



/* ===========================
   TYPOGRAFIE
=========================== */

h1,
h2,
h3,
h4{

    font-family:'Cormorant Garamond',serif;

    color:var(--wine);

    line-height:1.2;

}

h1{

    font-size:4.8rem;

    margin-bottom:25px;

}

h2{

    font-size:3rem;

    margin-bottom:25px;

}

h3{

    font-size:2rem;

    margin-bottom:15px;

}

p{

    margin-bottom:22px;

}

a{

    text-decoration:none;

    transition:.35s;

}



/* ===========================
   CONTAINER
=========================== */

.container{

    width:min(1180px,92%);

    margin:auto;

}



/* ===========================
   SEKTIONEN
=========================== */

.section{

    padding:110px 0;

}

.light{

    background:white;

}



/* ===========================
   ZENTRIERUNG
=========================== */

.section-center{

    text-align:center;

    max-width:900px;

    margin:auto auto 70px;

}



/* ===========================
   KLEINE ÜBERSCHRIFT
=========================== */

.section-title{

    text-transform:uppercase;

    letter-spacing:3px;

    color:var(--gold);

    font-weight:700;

    font-size:.95rem;

    margin-bottom:15px;

}



/* ===========================
   LEAD
=========================== */

.lead{

    font-size:1.35rem;

    color:var(--wine);

    font-weight:600;

}



/* ===========================
   BUTTONS
=========================== */

.button{

    display:inline-block;

    padding:17px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

    margin-right:15px;

    margin-top:20px;

}

.button-primary{

    background:var(--wine);

    color:white;

}

.button-primary:hover{

    background:var(--gold);

    color:white;

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(0,0,0,.18);

}

.button-secondary{

    border:2px solid var(--wine);

    color:var(--wine);

    background:white;

}

.button-secondary:hover{

    background:var(--wine);

    color:white;

}



/* ===========================
   BILDER
=========================== */

img{

    max-width:100%;

    display:block;

}



/* ===========================
   ZWEI SPALTEN
=========================== */

.two-columns{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.reverse .image{

    order:2;

}

.reverse .content{

    order:1;

}



/* ===========================
   COVER & AUTORENFOTO
=========================== */

.image img{

    border-radius:18px;

    box-shadow:var(--shadow);

}



/* ===========================
   BLOCKQUOTE
=========================== */

blockquote{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    color:var(--wine);

    margin-top:40px;

    border-left:4px solid var(--gold);

    padding-left:25px;

    font-style:italic;

}



/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:980px){

.two-columns{

grid-template-columns:1fr;

gap:60px;

}

.reverse .image,
.reverse .content{

order:unset;

}

h1{

font-size:3.3rem;

}

h2{

font-size:2.4rem;

}

.section{

padding:80px 0;

}

}

/* ==========================================================
   HEADER
========================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(18px);

    transition:.4s;

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:24px 0;

}



/* ===========================
   LOGO
=========================== */

.logo{

    display:flex;

    flex-direction:column;

    color:white;

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    font-weight:700;

    letter-spacing:2px;

}

.logo span{

    font-family:'Inter',sans-serif;

    font-size:.8rem;

    letter-spacing:2px;

    color:rgba(255,255,255,.8);

    margin-top:4px;

}



/* ===========================
   NAVIGATION
=========================== */

nav ul{

    display:flex;

    gap:40px;

    list-style:none;

}

nav a{

    color:white;

    font-weight:500;

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

nav a:hover::after{

    width:100%;

}



/* ==========================================================
   HERO
========================================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:140px 20px;

    background:url("../images/hero-mallorca.webp") center center/cover no-repeat;

}



/* ===========================
   DUNKLES OVERLAY
=========================== */

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(15,15,15,.60),

        rgba(15,15,15,.45)

    );

}



/* ===========================
   HERO CONTENT
=========================== */

.hero-content{

    position:relative;

    z-index:10;

    max-width:900px;

    color:white;

}

.hero-content h1{

    color:white;

    margin-bottom:35px;

    text-shadow:0 4px 20px rgba(0,0,0,.45);

}

.subtitle{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:.9rem;

    margin-bottom:25px;

}

.hero-text{

    font-size:1.3rem;

    max-width:760px;

    margin:35px auto;

    color:rgba(255,255,255,.95);

}

.hero blockquote{

    color:white;

    border-left:none;

    padding-left:0;

    margin:45px auto;

    max-width:720px;

    font-size:2rem;

}



/* ===========================
   HERO BUTTONS
=========================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:50px;

}

.hero .button-primary{

    background:var(--wine);

}

.hero .button-primary:hover{

    background:var(--gold);

}

.hero .button-secondary{

    border:2px solid white;

    color:white;

    background:transparent;

}

.hero .button-secondary:hover{

    background:white;

    color:var(--wine);

}



/* ==========================================================
   RESPONSIVE HERO
========================================================== */

@media(max-width:900px){

.header .container{

    flex-direction:column;

    gap:18px;

}

nav ul{

    gap:22px;

    flex-wrap:wrap;

    justify-content:center;

}

.hero{

    min-height:90vh;

}

.hero-content h1{

    font-size:2.8rem;

}

.hero-text{

    font-size:1.1rem;

}

.hero blockquote{

    font-size:1.5rem;

}

}

/* ==========================================================
   ROMAN
========================================================== */

.book-cover{
    max-width:420px;
    margin:auto;
}

.book-cover img{
    width:100%;
}

.book-details{
    margin-top:30px;
}

.book-details p{
    margin-bottom:12px;
}

/* ==========================================================
   AUTOR
========================================================== */

.author-image{
    max-width:520px;
    margin:auto;
}

.author-image img{
    width:100%;
}

.author-text{
    max-width:700px;
}

/* ==========================================================
   MALLORCA ERZÄHLT
========================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:50px;

}

.card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

}

.card img{

    width:100%;

    height:420px;

    object-fit:cover;

    object-position:center center;

}

.card-content{

    padding:30px;

}

.card-content h3{

    margin-bottom:15px;

}

.card-content p{

    margin-bottom:20px;

}

/* ==========================================================
   LESEPROBE
========================================================== */

.features{

    list-style:none;

    margin-top:30px;

}

.features li{

    margin-bottom:16px;

    padding-left:28px;

    position:relative;

}

.features li::before{

    content:"✓";

    position:absolute;

    left:0;

    color:var(--gold);

    font-weight:700;

}

.sample-box{

    background:white;

    padding:50px;

    border-radius:20px;

    box-shadow:var(--shadow);

    margin-top:50px;

}

/* ==========================================================
   NEWSLETTER
========================================================== */

.newsletter{

    background:linear-gradient(
        135deg,
        var(--wine),
        #5f1520
    );

    color:white;

    text-align:center;

}

.newsletter h2{

    color:white;

}

.newsletter p{

    max-width:700px;

    margin:auto auto 30px;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:35px;

}

.newsletter-form input{

    padding:18px 22px;

    border:none;

    border-radius:50px;

    min-width:320px;

    font-size:1rem;

}

.newsletter-form button{

    border:none;

    cursor:pointer;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer{

    background:#111;

    color:#d0d0d0;

    padding:90px 0 40px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer h3{

    color:white;

    margin-bottom:20px;

}

.footer p{

    color:#bdbdbd;

}

.footer ul{

    list-style:none;

}

.footer li{

    margin-bottom:12px;

}

.footer a{

    color:#cfcfcf;

}

.footer a:hover{

    color:var(--gold);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.12);

    margin-top:60px;

    padding-top:30px;

    text-align:center;

    font-size:.95rem;

}

/* ==========================================================
   INNENSEITEN
========================================================== */

.page-hero{

    position:relative;

    height:65vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.page-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}

.page-hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:0 20px;

}

.page-hero h1{

    color:white;

}

.page-content{

    padding:100px 0;

}

.page-content img{

    border-radius:18px;

    box-shadow:var(--shadow);

}

/* =====================================
   WEINROUTE
===================================== */

.weinroute{
    display:flex;
    align-items:center;
    gap:60px;
}

.weinroute-text{
    flex:1;
}

.weinroute-bild{
    flex:1;
}

.weinroute-bild img{
    width:100%;
    display:block;
    border-radius:20px;
}

/* ==========================================================
   HAMBURGER BUTTON
========================================================== */

.menu-toggle{

    display:none;

    flex-direction:column;

    gap:5px;

    cursor:pointer;

}

.menu-toggle span{

    width:28px;

    height:3px;

    background:white;

    border-radius:5px;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:900px){

.cards{

    grid-template-columns:1fr;

}

.footer-grid{

    grid-template-columns:1fr;

    gap:40px;

}

.newsletter-form{

    flex-direction:column;

    align-items:center;

}

.weinroute{
        flex-direction:column;
    }

    .weinroute-bild{
        width:100%;
    }

.newsletter-form input{

    width:100%;

    max-width:500px;

    min-width:unset;

}

.menu-toggle{

    display:flex;

}

.main-nav{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:white;

    padding:20px 0;

    display:none;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.main-nav.active{

    display:block;

}

.main-nav ul{

    flex-direction:column;

    gap:0;

}

.main-nav li{

    text-align:center;

    padding:15px 0;

}

.main-nav a{

    color:var(--wine);

}

.header .container{

    flex-direction:row;

}

.page-hero{

    height:50vh;

}

.page-hero h1{

    font-size:2.5rem;

}

.sample-box{

    padding:30px;

}

}

.section{
    padding:110px 0;
    position:relative;
    z-index:1;
}

.card-grid{
    gap:30px;
}

.card{
    margin-bottom:30px !important;
}

/* NEWSLETTER FORMULAR */

.newsletter form{

    margin-top:40px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

}

.newsletter input[type="email"]{

    width:340px;

    max-width:100%;

    padding:16px 20px;

    border:none;

    border-radius:10px;

    font-size:1rem;

    font-family:'Inter',sans-serif;

    outline:none;

    background:#ffffff;

    color:#303030;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.newsletter input[type="email"]::placeholder{

    color:#888;

}

.newsletter button{

    padding:16px 24px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-size:1rem;

    font-weight:600;

    font-family:'Inter',sans-serif;

    background:#d4a24a;

    color:#fff;

    transition:.3s ease;

}

.newsletter button:hover{

    transform:translateY(-2px);

    opacity:.9;

}

.social-links a{
    color:#7a1220;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.social-links a:hover{
    opacity:0.8;
}