/*
Theme Name: Konstruksi Pro
Theme URI: https://example.com/konstruksi-pro
Author: Your Name
Author URI: https://example.com
Description: Tema WordPress profesional untuk perusahaan konstruksi. Menampilkan layanan, portofolio, dan kontak dengan integrasi WhatsApp & Telepon.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konstruksi-pro
Tags: construction, company, portfolio, services, responsive, whatsapp
*/

/* ================================
   RESET & BASE STYLES
================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ================================
   HEADER & NAVIGATION
================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo h1 {
    font-size: 24px;
    color: #1a365d;
    font-weight: 700;
}

.site-logo span {
    color: #d69e2e;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #1a365d;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d69e2e;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-wa {
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.btn-wa:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-phone {
    background: #1a365d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.btn-phone:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a365d;
    transition: all 0.3s ease;
}

/* ================================
   HERO SECTION
================================ */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 48px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h2 span {
    color: #d69e2e;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #d69e2e;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b7791f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(214, 158, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a365d;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item h3 {
    font-size: 36px;
    color: #d69e2e;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ================================
   SECTION STYLES
================================ */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .subtitle {
    color: #d69e2e;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* ================================
   SERVICES SECTION
================================ */
.services-section {
    background: #f7fafc;
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    color: #1a365d;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* ================================
   PORTFOLIO SECTION
================================ */
.portfolio-section {
    background: #fff;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
    padding: 30px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.portfolio-overlay .location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
}

/* ================================
   WHY CHOOSE US
================================ */
.why-us-section {
    background: #1a365d;
    color: #fff;
}

.why-us-section .section-header h2,
.why-us-section .section-header p {
    color: #fff;
}

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

.why-us-item {
    text-align: center;
    padding: 30px;
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background: rgba(214, 158, 46, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #d69e2e;
}

.why-us-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.why-us-item p {
    opacity: 0.8;
    line-height: 1.7;
}

/* ================================
   CTA SECTION
================================ */
.cta-section {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #1a365d;
}

.cta-buttons .btn-primary:hover {
    background: #1a365d;
    color: #fff;
}

.cta-buttons .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #1a365d;
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
    background: #f7fafc;
}

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

.contact-info h3 {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-method .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.contact-method.wa .icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-method.info {
    flex-direction: column;
    align-items: flex-start;
}

.contact-method.info .icon {
    margin-bottom: 10px;
}

.contact-method h4 {
    font-size: 18px;
    color: #1a365d;
    margin-bottom: 5px;
}

.contact-method p {
    color: #666;
    font-size: 16px;
}

.contact-method a {
    color: #d69e2e;
    font-weight: 600;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: #1a365d;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a365d;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d69e2e;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
    transform: translateY(-2px);
}

/* ================================
   FLOATING WA BUTTON
================================ */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.floating-wa a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.floating-wa a:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.floating-wa .wa-icon {
    font-size: 24px;
}

/* ================================
   FOOTER
================================ */
.site-footer {
    background: #1a365d;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand h3 span {
    color: #d69e2e;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #d69e2e;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d69e2e;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: #d69e2e;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-wa a span:not(.wa-icon) {
        display: none;
    }
    
    .floating-wa a {
        padding: 0;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .floating-wa .wa-icon {
        font-size: 28px;
        line-height: 1;
    }
}
