/*
Theme Name: main-themes
Author: ahmad
Description: Theme WordPress siap pakai (Classic Editor)
Version: 1.0
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1e293b;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: #ea580c;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ea580c;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ea580c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-call:hover {
    background: #c2410c;
}

.btn-call .icon {
    width: 1rem;
    height: 1rem;
}

.mobile-call {
    display: block;
}

@media (min-width: 768px) {
    .mobile-call {
        display: none;
    }
}

.btn-call-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ea580c;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
}

.nav-mobile {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}

.nav-link-mobile {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: #ea580c;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #fb923c 100%);
    color: white;
    padding: 5rem 0 8rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #fed7aa;
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #c2410c;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #fed7aa;
}

.btn-secondary {
    display: inline-block;
    background: #9a3412;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #7c2d12;
}

/* Hero Services Variant */
.hero-services {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 4rem 0 6rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-services {
        padding: 6rem 0;
    }
}

.hero-text-alt {
    max-width: 48rem;
}

.hero-title-alt {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title-alt {
        font-size: 3rem;
    }
}

.hero-subtitle-alt {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.8;
}

/* Section Styles */
.section-white {
    padding: 4rem 0;
    background: white;
}

.section-gray {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 48rem;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #fed7aa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #c2410c;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #64748b;
    line-height: 1.8;
}

.btn-primary-orange {
    display: inline-block;
    background: #ea580c;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary-orange:hover {
    background: #c2410c;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.value-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.value-description {
    color: #64748b;
    line-height: 1.8;
}

/* Content with Image */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .content-with-image {
        grid-template-columns: 1fr 1fr;
    }
}

.content-image {
    order: 2;
}

@media (min-width: 1024px) {
    .content-image {
        order: 1;
    }
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.content-text {
    order: 1;
}

@media (min-width: 1024px) {
    .content-text {
        order: 2;
    }
}

.content-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .content-title {
        font-size: 1.875rem;
    }
}

.content-text p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.image-gallery img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .image-gallery img {
        height: auto;
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    text-align: center;
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: #fed7aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon svg {
    width: 2rem;
    height: 2rem;
    color: #c2410c;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: #64748b;
}

/* Detailed Services */
.detailed-services {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.detailed-service {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

@media (min-width: 768px) {
    .detailed-service {
        padding: 2.5rem;
    }
}

.detailed-service:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.service-icon-large {
    width: 3.5rem;
    height: 3.5rem;
    background: #ea580c;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.service-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .service-name {
        font-size: 1.875rem;
    }
}

.service-intro {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
}

.service-features h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.service-features li::before {
    content: '✓';
    color: #ea580c;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.5;
}

/* Why Choose Section */
.why-choose-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-choose-content {
        grid-template-columns: 1fr 1fr;
    }
}

.why-choose-text p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.why-choose-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.img-2 {
    margin-top: 2rem;
}

.img-3 {
    margin-top: -2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-heading {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #fed7aa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #c2410c;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
}

.contact-link {
    color: #ea580c;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.emergency {
    color: #ea580c;
    font-weight: 500;
}

.confidential-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.confidential-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 0.5rem;
}

.confidential-box p {
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
}

.form-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    background: #ea580c;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #c2410c;
}

.btn-submit .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.form-note {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
}

.success-message {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #78350f;
}

/* Contact Gallery */
.contact-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    height: 16rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.gallery-overlay p {
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 450px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #ea580c;
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-text {
    font-size: 1.25rem;
    color: #fed7aa;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-white {
    display: inline-block;
    background: white;
    color: #c2410c;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: background 0.3s;
}

.btn-white:hover {
    background: #fed7aa;
}

.btn-outline {
    display: inline-block;
    background: #c2410c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid white;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: #9a3412;
}

.btn-white-large {
    display: inline-block;
    background: white;
    color: #c2410c;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
    transition: background 0.3s;
}

.btn-white-large:hover {
    background: #fed7aa;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #fb923c;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fdba74;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #fb923c;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fdba74;
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.text-center {
    text-align: center;
}