/* ANE HOLDINGS - Company Website Styles */

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

:root {
    --primary-color: #e91e63;
    --secondary-color: #ff6b9d;
    --dark-color: #1a0a0f;
    --light-color: #2d1820;
    --text-color: #f0e6ea;
    --accent-color: #ff6b9d;
    --card-bg: #2d1820;
    --gradient-start: #1a0a0f;
    --gradient-end: #4a1e2e;
    --header-bg: #1a0a0f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #1a0f14;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #1a0a0f 0%, #2d1820 50%, #4a1e2e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn img {
    width: 16px;
    height: 12px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #e91e63, #ff6b9d);
    color: white;
    border-color: #e91e63;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(26, 10, 15, 0.92), rgba(74, 30, 46, 0.88)), url('../office.jpg?v=6');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e91e63, #ff6b9d);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
    border: 2px solid rgba(233, 30, 99, 0.5);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.5);
    background: linear-gradient(135deg, #ff6b9d, #e91e63);
}

/* Services Section */
.services {
    padding: 80px 2rem;
    background-color: #1a0f14;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #ff6b9d);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #2d1820, #3a1f2a);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.15);
    border: 1px solid rgba(233, 30, 99, 0.25);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.35);
    border-color: #e91e63;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e91e63, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #d4b4c0;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 2rem;
    background-color: #251318;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-text p {
    color: #d4b4c0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact {
    padding: 80px 2rem;
    background-color: #1a0f14;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, #2d1820, #3a1f2a);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.15);
    border: 1px solid rgba(233, 30, 99, 0.25);
}

.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ff6b9d;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(233, 30, 99, 0.25);
}

.contact-card .icon {
    font-size: 1.5rem;
}

.contact-card p,
.contact-card a {
    color: #d4b4c0;
    line-height: 1.8;
    text-decoration: none;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #0d0808, #1a0a0f);
    color: white;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid rgba(233, 30, 99, 0.3);
}

footer p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877f2;
}

.social-links a[aria-label="LINE"]:hover {
    color: #00B900;
}

.social-links a[aria-label="Zalo"]:hover {
    color: #0068FF;
}

.social-links a[aria-label="Email"]:hover {
    color: var(--primary-color);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-slide-up {
    animation: slideInUp 0.8s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    animation: pulse 0.6s ease;
}

/* Contact Card Animations */
.contact-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.contact-card:hover::after {
    height: 100%;
}

.contact-card:hover {
    transform: translateX(10px);
}

/* About Image Effects */
.about-image img {
    transition: all 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Logo Animation */
.logo img {
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: rotate(360deg) scale(1.1);
}

/* CTA Button Effects */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #ff6b9d);
    width: 0%;
    z-index: 999;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

/* Section Fade In - Disabled for better image loading */
section {
    opacity: 1;
}

/* About Image - Always visible */
.about-image img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    .language-switcher {
        order: -1;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}