/*
Theme Name: Corvita Free
Theme URI: https://preview.desertthemes.com/free/corvita/
Author: Custom
Description: Custom WordPress theme matching Corvita layout.
Version: 1.0
Text Domain: corvita
*/

/* Reset & Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; background-color: #f9f9f9; }
a { text-decoration: none; color: inherit; }

/* Global Container */
.container { max-width: 1350px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* --- Header Corvita Styles --- */
.corvita-header {
    width: 100%;
    position: relative;
    z-index: 999;
    background: #fff;
}

/* Top Bar */
.top-bar {
    background-color: #1a1e29;
    color: #cfd3dc;
    font-size: 13px;
    padding: 10px 0;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-left {
    display: flex;
    gap: 25px;
}
.top-left span, .top-right span {
    display: inline-flex;
    align-items: center;
}
.top-left i, .top-right i {
    color: #7b2cbf;
    margin-right: 8px;
}
.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}
.social-icons {
    display: inline-flex;
    gap: 12px;
}
.social-icons a {
    color: #cfd3dc;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #7b2cbf;
}

/* Main Header Area & Flex */
.main-header-area {
    position: relative;
    padding: 20px 0;
}
.main-header-flex {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 85px;
}

/* Logo Kotak dengan Ukuran Terkontrol & Sudut Miring */
.corvita-logo-box {
    background: #ffffff;
    width: 220px;
    height: 85px;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.12);
    position: absolute;
    top: -35px;
    left: 20px;
    z-index: 20;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.corvita-logo-box img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Nav Bar Container Melayang Putih */
.nav-bar-container {
    background: #ffffff;
    flex-grow: 1;
    margin-left: 260px; /* Ruang aman agar tidak menabrak logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    height: 85px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.06);
    border-radius: 4px;
}

/* Menu Navigasi */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.main-navigation a {
    text-decoration: none;
    color: #2b2d42;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
    color: #7b2cbf;
}

/* Header Right Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.action-icon {
    color: #2b2d42;
    font-size: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.action-icon:hover {
    background: #7b2cbf;
    color: #fff;
    border-color: #7b2cbf;
}

/* Tombol Checkout Pro */
.btn-checkout-pro {
    background: #651fff;
    color: #fff;
    padding: 8px 12px 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}
.btn-checkout-pro:hover {
    background: #5112e0;
}
.arrow-circle {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Call Box Telepon */
.call-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid #eaeaea;
    padding-left: 15px;
}
.call-icon {
    background: #651fff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.call-text small {
    display: block;
    font-size: 11px;
    color: #888;
}
.call-text strong {
    font-size: 14px;
    color: #111;
    white-space: nowrap;
}

/* Hero Section */
.hero-section { background: linear-gradient(135deg, #2c3e50, #3498db); color: #fff; padding: 100px 20px; text-align: center; }
.hero-section h1 { font-size: 48px; margin-bottom: 20px; }
.hero-section p { font-size: 18px; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.btn-primary { background: #e74c3c; color: #fff; padding: 12px 30px; border-radius: 4px; font-weight: bold; display: inline-block; transition: background 0.3s; }
.btn-primary:hover { background: #c0392b; }

/* Services Section */
.services-section { padding: 80px 20px; background: #fff; text-align: center; }
.services-section h2 { font-size: 36px; margin-bottom: 50px; color: #2c3e50; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-box { background: #fdfdfd; padding: 40px 30px; border: 1px solid #eee; border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s; }
.service-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-box h3 { margin-bottom: 15px; color: #2c3e50; font-size: 22px; }

/* --- Footer Corvita Styles & Animations --- */
/* --- Footer Corvita Styles & Animations --- */
.site-footer.corvita-footer-style {
    background-color: #151820 !important;
    color: #9ba1ad !important;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block;
}

.footer-widgets-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 80px 20px 60px 20px !important;
}

.footer-widget-col {
    width: 100%;
}

.footer-widget-col .footer-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-col .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #7b2cbf;
    transition: width 0.3s ease;
}

.footer-widget-col:hover .footer-title::after {
    width: 55px;
}

.footer-desc {
    margin-bottom: 20px;
    color: #9ba1ad;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none !important;
}

.footer-links a {
    color: #9ba1ad !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(6px);
}

.footer-socials {
    display: flex !important;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: #7b2cbf;
    transform: translateY(-4px);
    color: #ffffff !important;
}

.footer-newsletter-form {
    display: flex !important;
    position: relative;
    margin-top: 15px;
}

.footer-newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 50px 12px 15px !important;
    border-radius: 4px;
    color: #fff !important;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer-newsletter-form input:focus {
    border-color: #7b2cbf !important;
}

.footer-newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #7b2cbf !important;
    border: none;
    color: #fff !important;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter-form button:hover {
    background: #651fff !important;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    background-color: #111318 !important;
}

.footer-bottom-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom-menu {
    display: flex !important;
    gap: 20px;
}

.footer-bottom-menu a {
    color: #9ba1ad !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
    color: #7b2cbf !important;
}

/* Responsive untuk layar kecil / Tablet */
@media(max-width: 1024px) {
    .footer-widgets-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media(max-width: 650px) {
    .footer-widgets-container {
        grid-template-columns: 1fr !important;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}