/* ============================================
   PC GILMORE - Common Styles
   Color Scheme: Black (Primary) + Blue Tech Accent
   ============================================ */


/* CSS Variables */

:root {
    --primary-color: #0a0a0a;
    --primary-dark: #000000;
    --primary-light: #1a1a2e;
    --secondary-color: #f8f9fa;
    --secondary-dark: #e9ecef;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --accent-color: #0066ff;
    --accent-light: #3d8bff;
    --accent-dark: #0052cc;
    --accent-glow: rgba(0, 102, 255, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}


/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}


/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ============================================
   Navigation
   ============================================ */

.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 45px;
    width: auto;
    margin-left: 50px;
}

.nav-logo span {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all var(--transition-speed);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.nav-link span {
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgb(245, 242, 242);
    color: #000000;
}


/* Mobile Menu Toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all var(--transition-speed);
}


/* Shopee Button for Mobile */

.nav-shopee-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: all var(--transition-speed);
    align-items: center;
    justify-content: center;
}

.nav-shopee-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-shopee-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}


/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
}


/* Button icon helpers */

.btn-hero-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}

.btn-icon--shopee {
    width: 24px;
    height: 24px;
    padding-bottom: 0;
    border-radius: 0;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}


/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}


/* ============================================
   Cards
   ============================================ */

.card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
    fill: none;
}


/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--primary-dark);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(245, 240, 232, 0.8);
    transition: color var(--transition-speed);
}

.footer-section a:hover {
    color: var(--secondary-color);
}


/* Contact Info Section - Yellow styling (excluding address) */

.footer-section:last-child li:not(:first-child) {
    color: #ffd700;
}

.footer-section:last-child li:not(:first-child) a {
    color: #ffd700;
}

.footer-section:last-child li:not(:first-child) a:hover {
    color: #ffed4e;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(245, 240, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.social-link:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--secondary-color);
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(245, 240, 232, 0.6);
}


/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}


/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}


/* Animation Delays */

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}


/* ============================================
   Responsive Design
   ============================================ */


/* Tablet Landscape */

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .nav-menu {
        gap: 20px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-header p {
        font-size: 0.95rem;
    }
}


/* Tablet Portrait & Mobile */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.35rem;
    }
    h4 {
        font-size: 1.1rem;
    }
    .navbar {
        padding: 15px 0;
    }
    .nav-container {
        position: relative;
        justify-content: center;
        min-height: 50px;
    }
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .nav-logo img {
        height: 45px;
        margin-left: 0;
    }
    .nav-logo span {
        display: none;
    }
    .nav-toggle {
        display: flex;
        position: absolute;
        left: 20px;
        margin-right: 0;
    }
    .nav-toggle span {
        width: 28px;
        height: 3px;
    }
    .nav-shopee-btn {
        display: flex;
        position: absolute;
        right: 20px;
        width: 36px;
        height: 36px;
    }
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        bottom: 0;
        width: 280px;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 15px;
        gap: 10px;
        transform: translateX(-100%);
        transition: transform var(--transition-speed);
        box-shadow: 5px 0 15px var(--shadow-color);
        overflow-y: auto;
    }
    .nav-menu li {
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-link {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        background-color: transparent;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .nav-link svg {
        width: 20px;
        height: 20px;
    }
    .nav-link::after {
        display: none;
    }
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.95);
        color: #000000;
    }
    section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 35px;
    }
    .section-divider {
        width: 60px;
        height: 3px;
        margin: 15px auto;
    }
    .card {
        padding: 25px;
    }
    .footer {
        padding: 50px 0 20px;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-logo {
        justify-content: center;
    }
    /* Hide Quick Links and Services sections on mobile */
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        display: none;
    }
    /* Reorder sections: Logo first, Contact Info second */
    .footer-section:first-child {
        order: 1;
    }
    .footer-section:last-child {
        order: 2;
    }
    /* Hide social links in first section on mobile - they will be moved via JS */
    .footer-section:first-child .social-links {
        display: none;
    }
    /* Style for social links when moved after Contact Info */
    .footer-section:last-child .social-links {
        display: flex !important;
        justify-content: center;
        margin-top: 20px;
        gap: 10px;
    }
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
    .social-links {
        justify-content: center;
    }
    .social-link {
        width: 38px;
        height: 38px;
    }
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    .social-link img {
        width: 18px;
        height: 18px;
    }
    .qr-codes-grid {
        max-width: 240px;
        gap: 10px;
    }
    .qr-code-image {
        width: 70px;
        height: 70px;
    }
    .qr-code-label {
        font-size: 0.7rem;
    }
}


/* Mobile */

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    h4 {
        font-size: 1rem;
    }
    body {
        font-size: 0.95rem;
    }
    .container {
        padding: 0 15px;
    }
    .navbar {
        padding: 12px 0;
    }
    .nav-container {
        padding: 0 15px;
        min-height: 45px;
    }
    .nav-logo img {
        height: 40px;
    }
    .nav-toggle {
        left: 15px;
    }
    .nav-toggle span {
        width: 26px;
        height: 3px;
    }
    .nav-shopee-btn {
        right: 15px;
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    .nav-menu {
        top: 64px;
        width: 250px;
        padding: 15px 12px;
    }
    section {
        padding: 50px 0;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    .card {
        padding: 20px;
        border-radius: 12px;
    }
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    .card-icon svg {
        width: 25px;
        height: 25px;
    }
    .footer {
        padding: 40px 0 15px;
    }
    .footer-content {
        gap: 25px;
    }
    .footer-logo img {
        height: 35px;
    }
    .footer-logo span {
        font-size: 1.1rem;
    }
    .social-link {
        width: 35px;
        height: 35px;
    }
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    .social-link img {
        width: 16px;
        height: 16px;
    }
    .qr-codes-grid {
        max-width: 200px;
        gap: 8px;
    }
    .qr-code-image {
        width: 60px;
        height: 60px;
    }
    .qr-code-label {
        font-size: 0.65rem;
    }
}