/* =======================================
   ADRIAN MORGENSTERN — SWITZERLAND
   Premium Luxury One Page
======================================= */

/* ---------- RESET ---------- */

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

html{
    scroll-behavior:smooth;
}

body{

    background:#ffffff;

    color:#1b1b1b;

    font-family:Helvetica,Arial,sans-serif;

    line-height:1.7;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;
}

img{
    display:block;
    width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}


/* ---------- VARIABLES ---------- */

:root{

    --gold:#b68a35;

    --gold-light:#d4b06b;

    --text:#222;

    --light:#ffffff;

    --gray:#8b8b8b;

    --border:#ececec;

    --shadow:
    0 30px 60px rgba(0,0,0,.08);

}


/* ---------- TYPOGRAPHY ---------- */

h1,
h2,
h3{

    font-family:"Cormorant Garamond",serif;

    font-weight:400;

    letter-spacing:1px;

}

h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:30px;

}

h2{

    font-size:48px;

    margin-bottom:25px;

}

p{

    max-width:650px;

    color:#555;

    font-size:18px;

    margin-bottom:35px;

}


/* ---------- HEADER ---------- */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:90px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(10px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 7%;

    z-index:1000;

    border-bottom:1px solid var(--border);

}

.logo{

    font-family:"Cormorant Garamond",serif;

    font-size:16px;

    letter-spacing:4px;

}

.logo span{

    display:flex;

    font-size:12px;

    letter-spacing:6px;

    margin-top:2px;

    color:var(--gold);

}

nav{

    display:flex;

    gap:45px;

}

nav a{

    position:relative;

    transition:.35s;

    font-size:12px;

    letter-spacing:2px;

    text-transform:uppercase;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:1px;

    background:var(--gold);

    transition:.35s;

}

nav a:hover{

    color:var(--gold);

}

nav a:hover::after{

    width:100%;

}


/* ---------- HERO ---------- */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

    padding:140px 8% 80px;

}

.hero-text{

    animation:fadeUp 1s ease;

}

.hero-image img{

    border-radius:6px;

    box-shadow:var(--shadow);

}


/* ---------- BUTTON ---------- */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 40px;

    border:1px solid var(--gold);

    color:var(--gold);

    font-size:14px;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.35s;

    cursor:pointer;

}

.btn:hover{

    background:var(--gold);

    color:#fff;

    transform:translateY(-3px);

    box-shadow:
    0 20px 40px rgba(182,138,53,.25);

}


/* ---------- PRODUCT ---------- */

.product{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

    padding:120px 8%;

}

.main-image{

    overflow:hidden;

    border-radius:6px;

    box-shadow:var(--shadow);

}

.main-image img{

    transition:.6s;

}

.main-image:hover img{

    transform:scale(1.03);

}

.thumbs{

    display:flex;

    gap:20px;

    margin-top:25px;

}

.thumbs img{

    width:22.5%;
   height: auto;

    cursor:pointer;

    border:1px solid transparent;

    transition:.3s;

}

.thumbs img:hover{

    border-color:var(--gold);

    transform:translateY(-4px);

}


/* ---------- ANIMATIONS ---------- */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


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

footer{

    padding:80px 40px 60px;

    text-align:center;

    background:#F8F7F4;

    border-top:1px solid #E9E6E0;

}

footer h3{

    font-family:'Cormorant Garamond',serif;

    font-size:12px;

    font-weight:400;

    letter-spacing:4px;

    margin-bottom:8px;

}

footer span{

    display:block;

    color:#B58B43;

    font-size:12px;

    letter-spacing:6px;

    text-transform:uppercase;

    margin-bottom:35px;

}

footer p{

    font-size:12px;

    color:#888;

    margin-bottom:30px;

}

.footer-nav{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:38px;

    flex-wrap:wrap;

}

.footer-nav a{

    position:relative;

    font-size:13px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:#666;

    transition:.4s ease;

}

.footer-nav a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:1px;

    background:#B58B43;

    transform:translateX(-50%);

    transition:.4s ease;

}

.footer-nav a:hover{

    color:#B58B43;

}

.footer-nav a:hover::after{

    width:100%;

}

@media(max-width:768px){

.footer-nav{

    flex-direction:column;

    gap:20px;

}

.footer-divider{

    width:80px;

}

}

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

@media (max-width: 1024px) {

  header {
    padding: 20px 30px;
  }

  nav {
    gap: 15px;
  }

  .product {
    gap: 40px;
  }
}

/* =========================
   MOBILE FIX (OVERLAP + IMAGE SIZE)
   ========================= */

@media (max-width: 768px) {

  /* HEADER FIX: kein Überlagern mehr */
  header {
    position: relative; /* wichtig: verhindert Überdeckung */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    z-index: 10;
    background: #fff; /* sorgt für saubere Lesbarkeit */
  }

  nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    font-size: 14px;
  }

  /* WICHTIG: Abstand nach oben, falls Layout vorher überlappt */
  .product {
    margin-top: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  /* GALERIE: Bilder größer machen */
  .product-gallery {
    width: 100%;
  }

  .main-image img {
    width: 100%;
    height: auto;
    max-height: 65vh; /* macht Bild groß aber nicht übertrieben */
    object-fit: cover;
  }

  /* THUMBS größer + besser klickbar */
  .thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
  }

  .thumbs img {
    width: 75px;
    height: 75px;
    object-fit: cover;
  }

  /* TEXT SECTION */
  .product-info {
    width: 100%;
  }

  .product-info h2 {
    font-size: 26px;
  }

  .product-info p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* BUTTONS */
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {

  .thumbs img {
    width: 65px;
    height: 65px;
  }

  .product-info h2 {
    font-size: 22px;
  }
}


/* =========================
   DESKTOP DEFAULT
   ========================= */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   MOBILE MENU FIX
   ========================= */

@media (max-width: 768px) {

  header {
    position: relative;
    background: #fff;
    z-index: 50;
  }

  /* Hamburger sichtbar */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  /* NAV STANDARD: versteckt */
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
  }

  /* NAV wenn aktiv */
  nav.active {
    display: flex;
  }

  nav a {
    font-size: 14px;
    padding: 6px 0;
  }

  /* WICHTIG: verhindert Überlappung mit Produkt */
  .product {
    margin-top: 20px;
  }


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

.contact-section{

    padding:140px 8%;

    background:#F8F7F4;

}

.contact-container{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.section-tag{

    display:block;

    margin-bottom:15px;

    color:#B58B43;

    letter-spacing:5px;

    text-transform:uppercase;

    font-size:13px;

}

.contact-container h2{

    margin-bottom:25px;

}

.contact-container p{

    max-width:620px;

    margin:0 auto 70px;

    color:#666;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px 22px;

    border:1px solid #E5E1DA;

    background:#fff;

    color:#222;

    font-size:15px;

    font-family:inherit;

    transition:.4s;

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:#B58B43;

    box-shadow:0 0 0 4px rgba(181,139,67,.08);

}

.contact-form input::placeholder,
.contact-form textarea::placeholder{

    color:#999;

}

.contact-form button{

    align-self:center;

    margin-top:20px;

}
    
    @media(max-width:768px){

.form-row{

    grid-template-columns:1fr;

}

.contact-section{

    padding:90px 30px;

}

.contact-container h2{

    font-size:42px;

}

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

@media (max-width: 992px){

header{

    padding:20px 30px;

}

.hero{

    grid-template-columns:1fr;
    text-align:center;
    gap:60px;
    padding:140px 30px 80px;

}

.product,
.creation,
.certificate{

    grid-template-columns:1fr;
    gap:50px;

}

.thumbs{

    justify-content:center;

}

.main-image{

    order:-1;

}

h1{

    font-size:56px;

}

h2{

    font-size:40px;

}

}


/* ============================= */

@media (max-width:768px){

header{

    height:90px;

}

nav{

    display:none;

}

.hero{

    padding-top:120px;

}

.hero-image{

    width:100%;

}

.hero-image img{

    max-width:420px;

    margin:auto;

}

.thumbs{

    justify-content:center;
    flex-wrap:wrap;

}

.thumbs img{

    width:22.5%;
   height: auto;

}

.form-row{

    grid-template-columns:1fr;

}

.contact-section{

    padding:80px 25px;

}

.footer-nav{

    flex-direction:column;
    gap:18px;

}

h1{

    font-size:42px;

}

h2{

    font-size:34px;

}

p{

    font-size:16px;

}

}


/* ============================= */

@media (max-width:480px){

.hero{

    padding:100px 20px 60px;

}

section{

    padding:70px 20px;

}

.btn{

    width:100%;
    text-align:center;

}

.logo{

    font-size:14px;

}

.logo span{

    font-size:10px;

}

}       
        
        
