/* 
    AKC Teknik - Professional Technical Service Styles
    Colors:
    Navy: #002147
    White: #ffffff
    Light Gray: #f8f9fa
    Dark Gray: #333333
    Orange: #ff7b00
    Success: #28a745
*/

:root {
    --primary: #002147;
    --primary-light: #003366;
    --accent: #ff8c00;
    --accent-hover: #e67e00;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --dark: #212529;
    --success: #25d366;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,33,71,0.2);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,123,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info a {
    margin-right: 20px;
    opacity: 0.9;
}

.top-info i {
    color: var(--accent);
    margin-right: 5px;
}

.top-social a {
    margin-left: 15px;
    opacity: 0.8;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.footer-social a:hover .fa-facebook-f { color: #fff; }
.footer-social a:nth-child(1):hover { background: #3b5998; border-color: #3b5998; }
.footer-social a:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: transparent; }
.footer-social a:nth-child(3):hover { background: #1da1f2; border-color: #1da1f2; }

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-v2 {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,33,71,0.2);
    position: relative;
    overflow: hidden;
}

.logo-icon-v2 i {
    position: absolute;
    transition: all 0.8s ease;
}

.icon-winter { animation: seasonHide 8s infinite; }
.icon-summer { animation: seasonShow 8s infinite; color: #ffca28; }

@keyframes seasonHide {
    0%, 40% { opacity: 1; transform: scale(1) rotate(0); }
    45%, 95% { opacity: 0; transform: scale(0.5) rotate(180deg); }
    100% { opacity: 1; transform: scale(1) rotate(360deg); }
}

@keyframes seasonShow {
    0%, 40% { opacity: 0; transform: scale(0.5) rotate(-180deg); }
    45%, 90% { opacity: 1; transform: scale(1) rotate(0); }
    95%, 100% { opacity: 0; transform: scale(0.5) rotate(180deg); }
}

.logo-text-v2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text-v2 span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    font-weight: 600;
    color: var(--primary);
    padding: 10px 0;
}

.nav-links > li > a:hover {
    color: var(--accent);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 8px;
    padding: 10px 0;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--light);
    color: var(--accent);
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 30px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-links li {
    margin-bottom: 20px;
}

.mobile-links a {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.mobile-cta {
    display: block;
    background-color: var(--primary);
    color: var(--white) !important;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    margin-top: 30px;
}

.no-scroll {
    overflow: hidden;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,33,71,0.85), rgba(0,33,71,0.85)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero h1, .hero p { color: var(--white) !important; }

.hero-small h1, .hero-small p { color: var(--white) !important; }

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 25px;
}

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

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Why Us */
.why-us {
    background-color: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.why-item i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: var(--gray);
}

/* CTA Area */
.cta-banner {
    background-color: var(--accent);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner .btn-primary {
    background-color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.7;
}

/* Fixed Actions */
.fixed-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fixed-actions a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fixed-whatsapp { background-color: var(--success); }
.fixed-phone { background-color: var(--primary); }

.fixed-actions a span {
    position: absolute;
    right: 70px;
    background-color: var(--white);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.fixed-actions a:hover span {
    opacity: 1;
    visibility: visible;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    grid-template-columns: repeat(3, 1fr);
}

.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.mobile-bottom-bar i {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-actions { display: none; }
.mobile-call-btn-v2 { display: none; }

/* Responsive */
@media (max-width: 992px) {
    .top-bar { display: none; }
    .nav-links, .nav-cta { display: none; }
    .mobile-actions { display: flex !important; }
    .mobile-menu-toggle { 
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px; 
        cursor: pointer; 
        background: var(--primary);
        color: #fff !important; 
        width: 40px;
        height: 40px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,33,71,0.15);
    }
    .mobile-call-btn-v2 { 
        display: flex !important; 
        width: 40px; 
        height: 40px; 
        background: var(--primary); 
        color: #fff !important; 
        align-items: center; 
        justify-content: center; 
        border-radius: 10px; 
        font-size: 18px;
        box-shadow: 0 4px 10px rgba(0,33,71,0.15);
    }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .fixed-actions { display: none; }
    .mobile-bottom-bar { display: grid; }
    .section { padding: 60px 0; }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}
