/* ===============================================
   PATCHOULI OIL COMPANY - STYLE.CSS
   Modern, Responsive Design for Export Business
   =============================================== */

/* CSS RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #2c5530;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.7;
}

/* PROMO BANNER */
.promo-banner {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-content {
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* HEADER & NAVIGATION */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c5530;
}

.nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #2c5530;
    background: rgba(44, 85, 48, 0.1);
}

.lang-toggle {
    background: #2c5530;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: #4a7c59;
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8) 0%, rgba(218, 165, 32, 0.6) 100%), url('image/petani_nilam.jpg') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(44, 85, 48, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DAA520;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.3);
}

.hero-button:hover {
    background: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.4);
}

/* ABOUT SECTION */
.about {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.divider {
    width: 80px;
    height: 3px;
    background: #DAA520;
    margin: 20px auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* PRODUCT SECTION */
.product {
    background: white;
    padding: 80px 0;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-info p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.specs-table {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background: #2c5530;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e1e1e1;
}

.specs-table tr:nth-child(even) {
    background: white;
}

/* WHY CHOOSE US SECTION */
.why {
    background: #f8f9fa;
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2c5530 0%, #DAA520 100%);
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.why-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.why-item p {
    color: #666;
    line-height: 1.6;
}

/* CONTACT SECTION */
.contact {
    background: white;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

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

.contact-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.contact-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.contact-link {
    color: #2c5530;
    font-weight: 600;
}

.contact-link:hover {
    color: #DAA520;
}

.contact-text {
    color: #666;
    line-height: 1.6;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-button {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 85, 48, 0.3);
}

.success-message {
    text-align: center;
    padding: 30px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #DAA520;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #ccc;
    line-height: 1.6;
}

.footer-links-title {
    font-size: 1.25rem;
    color: #DAA520;
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #DAA520;
}

.footer-contact-title {
    font-size: 1.25rem;
    color: #DAA520;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #DAA520;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lang-toggle-footer {
    background: #2c5530;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-toggle-footer:hover {
    background: #DAA520;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .why-item {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .promo-content {
        animation: none;
    }
}

/* PRINT STYLES */
@media print {
    .header, .footer, .promo-banner {
        display: none;
    }
    
    .hero {
        height: auto;
        color: black;
    }
    
    .hero-overlay {
        display: none;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

