/* 
 * TGCS Group - Premium Light & Gold Theme
 * Modern, Professional, and Responsive
 */

:root {
    --primary-gold: #d4af37;
    --dark-gold: #B8860B;
    --light-gold: #F9E076;
    --bg-white: #FFFFFF;
    --bg-light-gray: #f9f9f9;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --accent-gold: #C5A028;
    --shadow-gold: rgba(212, 175, 55, 0.2);
    --shadow-soft: rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --sky-blue: #e3f2fd;
    --whatsapp-green: #25d366;
    --deep-black: #000000;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

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

/* Typography Utilities */
.text-gold { color: var(--primary-gold); }
.bg-gold { background-color: var(--primary-gold); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-gold);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--deep-black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px; /* Minimal gap from logo */
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    margin: 0;
}

.site-branding-text {
    text-align: left;
    padding: 0;
}

.site-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem; /* Slightly smaller for better fit */
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
    max-width: 250px;
    margin: 0;
}

.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: #ffffff !important; /* Force white */
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10005;
    position: relative;
}

.mobile-menu-btn i {
    color: #ffffff !important;
}

.mobile-menu-btn:hover {
    color: var(--primary-gold) !important;
}

/* Hero Slider */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 5;
    text-align: left;
    color: #fff;
    padding: 0;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease forwards;
    transition-delay: 0.3s;
}

.slide-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease forwards;
    transition-delay: 0.5s;
}

.slide-content .btn {
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease forwards;
    transition-delay: 0.7s;
}

.slide.active .slide-content h2,
.slide.active .slide-content p,
.slide.active .slide-content .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Banner Ad Section */
.banner-ad {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    z-index: 2;
    margin-top: -20px; /* Slight overlap for smooth transition */
    border-top: 1px solid var(--primary-gold);
}

.banner-ad-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0,0,0,0) 100%);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.banner-ad-content {
    flex: 1;
}

.banner-ad-content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    white-space: nowrap;
}

.banner-ad-content h2 span {
    color: #ffffff;
}

.banner-ad-content p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.6;
}

.banner-ad-image {
    flex: 0.8;
    position: relative;
}

.banner-ad-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 2px solid var(--primary-gold);
}

@media (max-width: 992px) {
    .slide-content { 
        bottom: 40px;
        left: 20px;
        right: 20px;
        max-width: 100%;
    }
    .slide-content h2 { font-size: 1.8rem; margin-bottom: 8px; }
    .slide-content p { font-size: 0.95rem; margin-bottom: 15px; }
    .banner-ad-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .banner-ad-content h2 {
        font-size: 1.8rem;
        white-space: normal; /* Allow wrapping on mobile */
    }
    .banner-ad-content p {
        font-size: 1rem;
        white-space: normal; /* Allow wrapping on mobile */
    }
    .banner-ad-image {
        margin-top: 30px;
    }
}

.services-preview, .why-choose, .clients-section, .reviews-section, .contact-section, #contact, footer {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
}

/* Mobile Button (Handled in media query) */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 10002;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.services-preview {
    box-shadow: 0 -20px 50px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
        width: 100%;
    }
    .hero-image-side {
        display: none;
    }
    .hero {
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/hero-bg.jpg') center/cover;
    }
    .hero-content {
        max-width: 100%;
        padding: 20px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--deep-black);
        z-index: 10000;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        padding: 100px 30px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        transform: translateX(100%);
        display: block; /* Overriding previous display: none if any */
    }

    .nav-wrapper.active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Item separator */
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .header-right {
        flex: 1;
        justify-content: flex-end;
    }

    .site-branding-text {
        flex: none;
    }

    .logo {
        flex: 1;
        gap: 10px;
    }

    .mobile-menu-btn { 
        display: block; 
        z-index: 10001;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2rem; }
    
    .logo {
        flex: 2;
    }
    .site-title {
        font-size: 0.9rem;
        max-width: 180px;
    }
    
    .hero-btns { 
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: nowrap !important;
        width: 100%; 
        justify-content: center;
        gap: 15px;
    }
    .hero-btns .btn { 
        width: 55px;
        height: 55px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 1.4rem;
    }
    .hero-btns .btn span { display: none; }
    .hero-btns .btn i { margin: 0; }
    
    .container { padding: 0 15px; width: 100%; overflow: hidden; }
    section { padding: 60px 0 !important; width: 100%; overflow: hidden; }
}

/* Fix for any potential overflow elements */
.hero, .services-preview, .why-choose, .clients-section, .reviews-section, #contact, footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Cards (Services, Why Choose Us) */
.card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: 0 5px 15px var(--shadow-soft);
}

.card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.responsive-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
}

@media (max-width: 768px) {
    .responsive-image {
        height: auto;
        aspect-ratio: 4/3;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .page-header {
        padding: 100px 0 50px !important;
    }
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

/* Core Services Special Styling */
.services-preview .card {
    background: #111111; /* Golden Black */
    color: var(--bg-white);
    border-color: rgba(212, 175, 55, 0.2);
}

.services-preview .card h3 {
    color: var(--primary-gold);
}

.services-preview .card p {
    color: #e0e0e0;
}

/* Why Choose Us & Other Sections */
.bg-light {
    background-color: var(--bg-light-gray);
}

/* Footer */
footer {
    background: #1A1A1A;
    padding: 0 0 20px;
    margin: 0;
    color: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    color: var(--primary-gold);
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-gold);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--bg-white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #888;
    font-size: 0.9rem;
}

/* Review Section Specifics */
.reviews-section {
    background-color: var(--bg-light-gray) !important;
}

.review-card {
    background: var(--bg-white) !important;
    box-shadow: 0 5px 15px var(--shadow-soft);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
/* Redundant media query removed */

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
    }
}

.btn-round-green {
    background-color: var(--whatsapp-green);
    color: white !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-round-green:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.icon-sky-blue {
    background-color: var(--sky-blue);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #0d47a1;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
