/* ============================================================
   PT SEMUTARA SEMESTA ABADI — Landing Page Styles
   Clean Architecture | Vanilla CSS3 | Desktop-First
   ============================================================ */

/* --------------------------------------------------------
   1. CSS VARIABLES (Custom Properties)
   -------------------------------------------------------- */
:root {
    --primary-color: #114232;    /* Hijau tua Semutara */
    --primary-light: #1a5e3f;
    --secondary-color: #D2A056;  /* Emas hangat */
    --secondary-light: #e0b86a;
    --bg-light: #F7F4EF;         /* Krem lembut */
    --bg-warm: #F0EAD8;
    --text-dark: #2B2A27;
    --text-muted: #615E58;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------
   2. RESET / NORMALIZE
   -------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* --------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* --------------------------------------------------------
   4. UTILITY CLASSES
   -------------------------------------------------------- */
.section-tag {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: inline-block;
    position: relative;
}

.section-tag::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 8px;
    border-radius: 2px;
}

.text-center .section-tag::after,
.mission .section-tag::after,
.products-section .section-tag::after,
.contact .section-tag::after {
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.8px;
    cursor: pointer;
    border: 2px solid transparent;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d3527;
    border-color: #0d3527;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 66, 50, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #c49240;
    border-color: #c49240;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 160, 86, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------
   6. HEADER / NAVIGATION
   -------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(17, 66, 50, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 8%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo img {
    width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: width 0.3s;
}

header.scrolled .logo img {
    width: 150px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
    letter-spacing: 0.8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    position: relative;
    padding: 4px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--secondary-color);
}

/* Hamburger toggle button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* --------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/main-banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
}

.hero-content {
    max-width: 620px;
    color: var(--white);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 56px;
    color: #F4EFE3;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.hero-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 520px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    line-height: 1.8;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounceDown 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* --------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------- */
.about {
    display: flex;
    align-items: center;
    padding: 120px 8%;
    background-color: var(--bg-light);
    gap: 80px;
    position: relative;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 16px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 40px;
    color: #4A3B32;
    margin-bottom: 28px;
    line-height: 1.25;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.8;
}

/* --------------------------------------------------------
   9. VISION SECTION
   -------------------------------------------------------- */
.vision {
    padding: 120px 8%;
    background-color: var(--white);
    position: relative;
}

.vision-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    font-size: 40px;
    color: #4A3B32;
    margin-bottom: 24px;
    line-height: 1.25;
}

.vision-text p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
}

.vision-icon {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon .icon-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 72px;
    box-shadow: 0 20px 50px rgba(17, 66, 50, 0.25);
    transition: transform 0.5s;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------
   10. MISSION SECTION
   -------------------------------------------------------- */
.mission {
    padding: 120px 8%;
    background-color: var(--bg-light);
    text-align: center;
}

.mission h2 {
    font-size: 40px;
    color: #4A3B32;
    margin-bottom: 60px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 45px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card .card-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light), #e8e2d5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 34px;
    transition: transform 0.3s;
}

.mission-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.mission-card h3 {
    font-size: 19px;
    color: #3e2a1e;
    margin-bottom: 14px;
}

.mission-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------
   11. PRODUCTS SECTION
   -------------------------------------------------------- */
.products-section {
    background: linear-gradient(180deg, #E8DCC8 0%, #DFCDA6 50%, #d4c098 100%);
    padding: 120px 8%;
    text-align: center;
    position: relative;
}

.products-section h2 {
    font-size: 40px;
    color: #3e2a1e;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.products-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: #FEFCF8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 340px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card h3 {
    font-size: 24px;
    color: #3e2a1e;
    margin: 28px 0 14px 0;
}

.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    padding: 0 28px;
    margin-bottom: 28px;
    min-height: 65px;
    line-height: 1.7;
}

.product-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

.product-card a:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* --------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------- */
.contact {
    padding: 120px 8%;
    background-color: var(--bg-light);
    text-align: center;
}

.contact h2 {
    font-size: 40px;
    color: #4A3B32;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: stretch;
    text-align: left;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-detail:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-detail .detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #4A3B32;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-detail p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Social Media — berdiri sendiri */
.contact-social {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-social h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #4A3B32;
    margin-bottom: 18px;
    font-weight: 700;
}

.social-standalone {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}

.social-item:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(6px);
    border-color: var(--secondary-color);
}

.social-item img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.social-item span {
    white-space: nowrap;
}

.contact-map {
    flex: 1;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------
   13. FEATURES BAR
   -------------------------------------------------------- */
.features {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #e8e0d0, #F0EAD8, #e8e0d0);
    padding: 40px 8%;
    flex-wrap: wrap;
    gap: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #4a453c;
    transition: var(--transition);
}

.feature-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------- */
.footer {
    background-color: #0d3024;
    color: #c5bfb0;
    padding: 70px 8% 25px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 14px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #c5bfb0;
    margin-bottom: 14px;
    transition: var(--transition);
    padding: 2px 0;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 6px;
}

.footer-col .social-links {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.footer-col .social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.footer-col .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-col .social-links img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #8a8578;
}

/* --------------------------------------------------------
   15. WHATSAPP FLOATING BUTTON
   -------------------------------------------------------- */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: waPulse 2.5s infinite;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.wa-float img {
    width: 34px;
    height: 34px;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7); }
}

/* --------------------------------------------------------
   16. SCROLL TO TOP BUTTON
   -------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(17, 66, 50, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(210, 160, 86, 0.4);
}

/* --------------------------------------------------------
   17. LANGUAGE TOGGLE
   -------------------------------------------------------- */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.lang-toggle button {
    background: none;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.8);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.lang-toggle button.active-lang {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.lang-toggle button:hover:not(.active-lang) {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* --------------------------------------------------------
   18. ANIMATIONS
   -------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------
   19. MEDIA QUERIES — RESPONSIVE
   -------------------------------------------------------- */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 42px; }
    .hero-content h3 { font-size: 18px; }
    .about { gap: 50px; padding: 100px 5%; }
    .about-content h2 { font-size: 32px; }
    .vision-inner { gap: 50px; }
    .vision-text h2 { font-size: 32px; }
    .mission h2 { font-size: 32px; }
    .products-section h2 { font-size: 32px; }
    .contact h2 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact-wrapper { flex-direction: column; }
    .contact-map { min-height: 300px; }
    .product-card { width: 300px; }
}

/* Tablet Portrait / Mobile */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    /* Hero */
    .hero-section {
        min-height: 100vh;
        background-attachment: scroll;
    }

    /* Header */
    header {
        padding: 12px 5%;
        background: rgba(0,0,0,0.5);
    }

    header.scrolled {
        padding: 10px 5%;
    }

    .logo img {
        width: 130px;
    }

    header.scrolled .logo img {
        width: 120px;
    }

    /* Navigation — hamburger */
    .nav-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(17, 66, 50, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px 5%;
        gap: 10px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    nav.nav--open {
        display: flex;
    }

    nav a {
        margin-left: 0;
        font-size: 13px;
        text-shadow: none;
        padding: 8px 0;
    }

    .lang-toggle {
        margin-left: 0;
        margin-top: 12px;
        padding-left: 0;
        border-left: none;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.15);
        width: 100%;
    }

    /* Hero body */
    .hero-body {
        padding: 100px 5% 60px;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 { font-size: 32px; }
    .hero-content h3 { font-size: 16px; }
    .hero-content p { font-size: 14px; max-width: 100%; }

    .hero-scroll {
        bottom: 20px;
    }

    .btn-container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn { width: 100%; max-width: 280px; }

    /* About */
    .about {
        flex-direction: column;
        padding: 80px 5%;
        gap: 40px;
        text-align: center;
    }

    .about-image::before {
        top: -12px;
        left: -12px;
    }

    /* Vision */
    .vision {
        padding: 80px 5%;
    }

    .vision-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .vision-icon .icon-circle {
        width: 140px;
        height: 140px;
        font-size: 52px;
    }

    .vision-text h2 { font-size: 28px; }
    .vision-text p { font-size: 17px; }

    /* Mission */
    .mission {
        padding: 80px 5%;
    }

    .mission h2 { font-size: 28px; margin-bottom: 40px; }
    .mission-grid { grid-template-columns: 1fr; max-width: 400px; }

    /* Products */
    .products-section {
        padding: 80px 5%;
    }

    .products-section h2 { font-size: 28px; margin-bottom: 40px; }

    .product-card {
        width: 100%;
        max-width: 380px;
    }

    /* Contact */
    .contact {
        padding: 80px 5%;
    }

    .contact h2 { font-size: 28px; margin-bottom: 40px; }
    .contact-map { min-height: 260px; }
    .contact-social { padding: 22px 20px; }
    .social-item { padding: 12px 14px; font-size: 13px; }

    /* Footer */
    .footer {
        padding: 50px 5% 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Features */
    .features { flex-direction: column; align-items: center; gap: 20px; padding: 30px 5%; }

    /* WA Button */
    .wa-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

    .wa-float img {
        width: 28px;
        height: 28px;
    }

    /* Scroll Top */
    .scroll-top {
        bottom: 90px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section { min-height: 100vh; }
    .hero-content h1 { font-size: 26px; }
    .hero-content h3 { font-size: 15px; }

    .about-content h2,
    .vision-text h2,
    .mission h2,
    .products-section h2,
    .contact h2 { font-size: 24px; }

    .about { padding: 60px 5%; }
    .vision { padding: 60px 5%; }
    .mission { padding: 60px 5%; }
    .products-section { padding: 60px 5%; }
    .contact { padding: 60px 5%; }

    .vision-icon .icon-circle {
        width: 110px;
        height: 110px;
        font-size: 40px;
    }

    .mission-grid { gap: 20px; }
    .mission-card { padding: 30px 20px; }

    .product-card { max-width: 100%; }
    .product-card h3 { font-size: 20px; }

    .footer { padding: 40px 5% 18px; }
    .footer-grid { gap: 28px; }
}
