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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('richaderm-background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 70px;
}

.main-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(34, 49, 63, 0.08);
    padding: 4px 12px;
    transition: box-shadow 0.3s;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: #bfa14a;
    background: rgba(191, 161, 74, 0.08);
}

/* Banner - Biraz Daha Uzun (16:6 Oranında) */
.banner {
    width: 100%;
    aspect-ratio: 16/6;
    min-height: unset;
    height: auto;
    max-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('richaderm-banner.jpg') center center/cover no-repeat;
    position: relative;
    text-align: center;
    color: white;
    margin-top: 100px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 24px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    backdrop-filter: blur(10px);
    color: #333;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #222;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.5;
}

.banner-note {
    margin: 1.2rem 0;
    font-size: 1rem;
    color: #bfa14a;
    background: #fffbe6;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(191, 161, 74, 0.08);
    border-left: 4px solid #bfa14a;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #bfa14a 0%, #fffbe6 100%);
    color: #222;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(191, 161, 74, 0.12);
    margin-top: 0.8rem;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fffbe6 0%, #bfa14a 100%);
    box-shadow: 0 8px 25px rgba(191, 161, 74, 0.18);
}

/* Sections */
.products-section,
.about-section,
.reviews-section,
.contact-section,
.video-section {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    margin: 32px auto;
    padding: 48px 0;
    max-width: 1200px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.products-section h2,
.about-section h2,
.reviews-section h2,
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #222;
    position: relative;
}

/* Products */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(191, 161, 74, 0.15);
}

.product-img-advice {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    position: relative;
}

.product-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f8f8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: block;
    transition: all 0.3s;
}

.product-card h3 {
    font-size: 1.3rem;
    margin: 1rem 1.5rem 0.8rem;
    color: #222;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.product-card p {
    margin: 0 1.5rem 1rem;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    flex-grow: 1;
}

/* TAVSİYE YAZISI - HER ZAMAN GÖRÜNÜR */
.advice {
    display: block;
    margin: 0 1.5rem 1.5rem;
    background: linear-gradient(90deg, #ffe066 0%, #bfa14a 100%);
    color: #3a2c00;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    padding: 4px 0;
    box-shadow: 0 1px 3px rgba(191, 161, 74, 0.05);
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(255, 251, 230, 0.8);
    opacity: 1;
    transition: opacity 0.2s;
}

/* Video Section */
.video-section {
    text-align: center;
    padding: 32px 0;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-small {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-lead {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
    font-weight: 500;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 20px;
}

.about-section p {
    max-width: 900px;
    margin: 0 auto 2rem;
    color: #666;
    line-height: 1.8;
    text-align: center;
    font-size: 1.05rem;
    padding: 0 20px;
}

/* KAYAN YORUMLAR - SAĞDAN SOLA - DAHA YAVAŞ */
.reviews-marquee {
    overflow: hidden;
    width: 100%;
    background: #fffbe6;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(191, 161, 74, 0.06);
    padding: 16px 0;
    margin: 0 20px 24px;
    position: relative;
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: marqueeRightToLeft 180s linear infinite;
    gap: 24px;
}

.review-box {
    min-width: 350px;
    background: white;
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(191, 161, 74, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    color: #444;
    position: relative;
    border-left: 4px solid #bfa14a;
    flex-shrink: 0;
}

.review-user {
    font-weight: 600;
    color: #bfa14a;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.review-text {
    color: #555;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
}

/* SAĞDAN SOLA KAYAN ANİMASYON - DAHA YAVAŞ (180 SANİYE) */
@keyframes marqueeRightToLeft {
    0% { 
        transform: translateX(100vw); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

/* Contact Section */
.contact-section form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(191, 161, 74, 0.08);
}

.contact-section input,
.contact-section textarea {
    padding: 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #f8f9fa;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: #bfa14a;
    box-shadow: 0 0 0 4px rgba(191, 161, 74, 0.08);
    background: white;
}

.contact-section textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-section button {
    background: linear-gradient(135deg, #bfa14a 0%, #fffbe6 100%);
    color: #222;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(191, 161, 74, 0.12);
}

.contact-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 161, 74, 0.18);
    background: linear-gradient(135deg, #fffbe6 0%, #bfa14a 100%);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    border-radius: 0 0 24px 24px;
    margin: 0 0 24px 0;
    opacity: 0.92;
}

footer p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

/* Shopier Button */
.shopier-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, #c49a6c 60%, #a6784d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.06rem;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  margin: 12px auto 0 auto;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 12px #c49a6c33;
  transition: background .2s, transform .2s;
}
.shopier-buy-btn:hover {
  background: linear-gradient(90deg, #a6784d 60%, #c49a6c 100%);
  transform: scale(1.07);
}
.shopier-buy-btn i {
  font-size: 1.2em;
}

@media (max-width: 700px) {
  .products-list { grid-template-columns: 1fr; }
  .product-card { min-width: 0; }
  .shopier-buy-btn { width: 100%; justify-content: center; font-size: 1.09rem; }
  .logo {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .main-logo {
    max-width: 54px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .richaderm-title-mobile {
    display: none !important;
  }
}

/* Article Section */
.article-section {
  background: #f8f8f8;
  padding: 48px 0 32px 0;
}
.beauty-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #c49a6c22;
  padding: 32px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.beauty-article h3 {
  color: #b07a2a;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.beauty-article p {
  color: #444;
  margin-bottom: 10px;
  font-size: 1.04rem;
}

/* Footer Social Media */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-social a {
  color: #c49a6c;
  font-size: 1.6em;
  transition: color .2s;
}
.footer-social a:hover {
  color: #a6784d;
}

/* Chatbot styles */
#chatbot-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: linear-gradient(135deg, #c49a6c 70%, #a6784d 100%);
  color: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  box-shadow: 0 4px 24px #c49a6c44;
  cursor: pointer;
  z-index: 9999;
  transition: background .2s;
}
#chatbot-toggle:hover { background: #a6784d; }
.chatbot-box {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 320px;
  max-width: 95vw;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px #c49a6c55;
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  border: 1.5px solid #c49a6c55;
}
.chatbot-box.open { display: flex; }
.chatbot-header {
  background: linear-gradient(90deg, #c49a6c 60%, #a6784d 100%);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
}
.chatbot-messages {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  background: #f8f8f8;
  font-size: 1.01rem;
}
.chatbot-message {
  margin-bottom: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  max-width: 90%;
  word-break: break-word;
}
.chatbot-message.bot {
  background: #f5fff5;
  color: #388e3c;
  align-self: flex-start;
}
.chatbot-message.user {
  background: #c49a6c;
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
}
.chatbot-quick {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chatbot-quick button {
  background: #fff;
  border: 1px solid #c49a6c88;
  color: #a6784d;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.97em;
  transition: background .2s;
}
.chatbot-quick button:hover {
  background: #c49a6c;
  color: #fff;
}
#chatbot-form {
  display: flex;
  border-top: 1px solid #eee;
  background: #fff;
}
#chatbot-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 1em;
  border-radius: 0 0 0 10px;
  outline: none;
}
#chatbot-form button {
  background: #c49a6c;
  border: none;
  color: #fff;
  font-size: 1.2em;
  padding: 0 16px;
  border-radius: 0 0 10px 0;
  cursor: pointer;
  transition: background .2s;
}
#chatbot-form button:hover { background: #a6784d; }

@media (max-width: 700px) {
  .products-list { grid-template-columns: 1fr; }
  .product-card { min-width: 0; }
  .shopier-buy-btn { width: 100%; justify-content: center; font-size: 1.09rem; }
  .logo {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .main-logo {
    max-width: 54px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .richaderm-title-mobile {
    display: none !important;
  }
}

/* Responsive Design - Tablet */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }

    .banner {
        margin-top: 80px;
    }

    .banner-content {
        padding: 20px 24px;
    }

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

    .products-section,
    .about-section,
    .reviews-section,
    .contact-section,
    .video-section {
        border-radius: 16px;
        padding: 36px 0;
        margin: 24px auto;
    }

    .products-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .review-box {
        min-width: 280px;
        font-size: 0.95rem;
    }

    .reviews-marquee {
        margin: 0 15px 24px;
    }
}

/* Responsive Design - Mobil İyileştirilmiş - TAVSİYE YAZILARI HER ZAMAN GÖRÜNÜR ve TÜM MENÜ GİZLEME */
@media (max-width: 600px) {
    body {
        background-attachment: scroll;
    }

    .logo {
        display: none !important;
    }
    nav a[href="#home"],
    nav a[href="#products"],
    nav a[href="#about"],
    nav a[href="#contact"] {
        display: none !important;
    }

    .main-logo {
        height: 40px;
        padding: 3px 8px;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 0;
    }

    nav {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .banner {
        margin-top: 100px;
        aspect-ratio: 4/3;
        max-height: 35vh;
        min-height: 200px;
    }

    .banner-content {
        padding: 16px 20px;
        max-width: 95%;
        border-radius: 16px;
    }

    .banner-content h1 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .banner-note {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin: 0.8rem 0;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .products-section,
    .about-section,
    .reviews-section,
    .contact-section,
    .video-section {
        border-radius: 12px;
        padding: 24px 0;
        margin: 16px auto;
    }

    .products-section h2,
    .about-section h2,
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .products-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }

    .product-card {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(191, 161, 74, 0.08);
    }

    .product-img-advice {
        padding: 1rem;
    }

    .product-card img {
        width: 140px;
        height: 140px;
        border-radius: 8px;
    }

    .product-card h3 {
        font-size: 1.1rem;
        margin: 0.8rem 1rem 0.6rem;
    }

    .product-card p {
        font-size: 0.9rem;
        margin: 0 1rem 0.8rem;
        line-height: 1.5;
    }

    /* TAVSİYE YAZISI MOBİLDE DE HER ZAMAN GÖRÜNÜR */
    .advice {
        font-size: 0.8rem;
        border-radius: 6px;
        padding: 6px 0;
        margin: 0 1rem 1rem;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: auto !important;
        transition: none;
    }

    .contact-section form {
        padding: 1.5rem;
        gap: 1.2rem;
        margin: 0 10px;
        border-radius: 12px;
    }

    .contact-section input,
    .contact-section textarea {
        padding: 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .contact-section button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .review-box {
        min-width: 200px;
        font-size: 0.85rem;
        padding: 1rem;
        border-radius: 10px;
    }

    .reviews-marquee {
        margin: 0 10px 16px;
        border-radius: 10px;
        padding: 12px 0;
    }

    .about-section p,
    .about-lead {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

/* Çok Küçük Ekranlar */
@media (max-width: 480px) {
    .banner {
        min-height: 180px;
        max-height: 30vh;
    }

    .banner-content {
        padding: 12px 16px;
    }

    .banner-content h1 {
        font-size: 1.2rem;
    }

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

    .banner-note {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .products-section h2,
    .about-section h2,
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }

    .product-card img {
        width: 120px;
        height: 120px;
    }

    .review-box {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }

    .contact-section form {
        margin: 0 5px;
        padding: 1rem;
    }
}

/* Shopier Köşe Linki */
.shopier-corner-link {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  color: #c49a6c;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #c49a6c22;
  font-size: 1.25em;
  z-index: 3;
  transition: background .2s, color .2s, transform .2s;
  border: 1.5px solid #c49a6c33;
  text-decoration: none;
  cursor: pointer;
}
.shopier-corner-link:hover {
  background: #c49a6c;
  color: #fff;
  transform: scale(1.12) rotate(-10deg);
}
.shopier-corner-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72em;
  color: #b07a2a;
  margin-top: 1px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
}
@media (max-width: 700px) {
  .shopier-corner-link {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.1em;
  }
  .shopier-corner-text {
    font-size: 0.62em;
  }
  .article-section .container,
  .beauty-article {
    padding: 0 4vw !important;
    box-sizing: border-box;
  }
  .beauty-article {
    padding: 18px 8px !important;
    font-size: 0.98em;
  }
  .beauty-article h3 {
    font-size: 1.05em;
    margin-top: 12px;
    margin-bottom: 6px;
  }
  .beauty-article ul {
    padding-left: 18px;
  }
}