/*
Theme Name: Vanaya Tech
Theme URI: 
Author: Akhmad Rifki Maulana
Author URI: https://akhmad.my.id
Description: Custom WordPress theme for Vanaya Tech.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vanayatech
*/

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #2b7af0;
    --secondary-bg: #f3f6f9;
    --text-color: #333333;
    --nav-text-color: #64748b;
    --nav-text-active: #0f172a;
    --font-inter: 'Inter', sans-serif;
}

body {
    font-family: var(--font-inter);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid #eaeaea;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-branding img, .custom-logo {
    height: auto;
    max-height: 40px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: var(--nav-text-active);
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: var(--nav-text-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease-in-out;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--nav-text-active);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--nav-text-active);
    padding: 0.5rem;
}

/* Buttons */
.header-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
}

.btn {
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-inter);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-secondary {
    background-color: var(--secondary-bg);
    color: var(--nav-text-active);
    border: 1px solid #e2e8f0;
}

.full-width {
    width: 100%;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a60cc;
    border-color: #1a60cc;
}

/* Responsive */
@media (max-width: 1100px) {
    .main-navigation ul {
        gap: 1rem;
    }
    .main-navigation a {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .header-container {
        position: relative;
    }
    .main-navigation {
        justify-content: flex-end;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        padding: 1.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 100;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid #eaeaea;
    }
    .main-navigation.toggled .menu-container {
        display: flex;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin: 0 0 1.5rem 0;
        width: 100%;
    }
    .main-navigation ul li {
        width: 100%;
    }
    .main-navigation ul a {
        display: block;
        padding: 0.5rem 0;
    }
    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .header-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 4rem 2rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col-1 {
    flex: 1 1 400px;
}

.footer-col-2, .footer-col-3 {
    flex: 1 1 250px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img, .footer-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

.footer-description {
    margin-bottom: 2rem;
    color: #64748b;
}

.footer-description p {
    margin-bottom: 1rem;
}

.footer-contact h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 700;
}

.footer-contact p {
    margin: 0;
    color: #64748b;
}

.footer-contact a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 0.75rem;
}

.footer-widget a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-note {
    margin-top: 1.5rem;
    color: #64748b;
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding: 2rem 0;
}

.footer-disclaimer {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-col-1, .footer-col-2, .footer-col-3 {
        flex: 1 1 100%;
    }
}

