/* SANKO Service Page - Dịch vụ thiết kế tủ bếp inox */
/* Sử dụng bảng màu từ README.MD */

:root {
    --bg-primary: #18181b;
    --bg-secondary: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --border-dark: #3f3f46;
    --border-light: #52525b;
    --card-bg: #27272a;
}

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

body.sanko-custom-template {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-image: url('https://images.unsplash.com/photo-1600489000022-c2086d79f9d4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 27, 0.7);
    z-index: 0;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Section 1: Consulting */
.consulting-section {
    background-color: var(--bg-secondary);
}

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

.solution-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-dark);
    position: relative;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.solution-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.solution-btn {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.partners-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.solution-card.active .partners-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.partner-item:hover {
    background-color: var(--border-dark);
}

.partner-item img {
    width: 60px;
    height: 30px;
    object-fit: contain;
}

/* Section 2: Design */
.design-section {
    position: relative;
    background-color: var(--bg-primary);
}

.design-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/1920x1080/27272a/3b82f6?text=Design+Process');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.cta-design {
    margin-top: 1rem;
}

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

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.process-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 60px;
}

.process-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--text-secondary);
}

/* Section 3: Construction */
.construction-section {
    background-color: var(--bg-secondary);
}

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

.project-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 24, 27, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-project:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--accent);
}

/* Section 4: Showroom */
.showroom-section {
    background-color: var(--bg-primary);
}

.showroom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.showroom-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.showroom-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.showroom-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.showroom-search h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--accent-dark);
}

.showroom-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showroom-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.showroom-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.showroom-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showroom-item i {
    color: var(--accent);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%) contrast(120%);
}

/* Contact CTA */
.contact-cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.cta-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-actions .btn-outline {
    border-color: white;
    color: white;
}

.cta-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0 1rem;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    color: var(--text-secondary);
}

/* Animations - Removed for immediate display */
.mask-reveal {
    /* No animation - show immediately */
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up {
    /* No animation - show immediately */
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    /* No animation - show immediately */
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .showroom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .design-process {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Solutions Grid - 2 columns on mobile */
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .solution-card {
        padding: 1.25rem;
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .solution-icon i {
        font-size: 1.25rem;
    }
    
    .solution-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .solution-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Projects Grid - 2 columns on mobile */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-card {
        margin-bottom: 0;
    }
    
    .project-image {
        height: 150px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-info p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .project-meta {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .project-meta span {
        font-size: 0.75rem;
    }
    
    /* Design Process - Keep mobile friendly */
    .design-process {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-item {
        padding: 1.25rem;
        flex-direction: row;
        text-align: left;
    }
    
    .process-number {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .process-content h3 {
        font-size: 1.1rem;
    }
    
    .process-content p {
        font-size: 0.85rem;
    }
    
    .showroom-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .showroom-actions .btn-primary,
    .showroom-actions .btn-outline {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .cta-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: left;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Giảm padding để tiết kiệm không gian */
    .solution-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }
    
    .solution-icon i {
        font-size: 1rem;
    }
    
    .solution-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-desc {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .solution-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .project-card {
        margin-bottom: 0.75rem;
    }
    
    .project-image {
        height: 120px;
    }
    
    .project-info {
        padding: 0.75rem;
    }
    
    .project-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .project-info p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .project-meta span {
        font-size: 0.7rem;
    }
    
    .process-item {
        padding: 1rem;
    }
    
    .process-number {
        font-size: 1.25rem;
        min-width: 35px;
    }
    
    .process-content h3 {
        font-size: 1rem;
    }
    
    .process-content p {
        font-size: 0.8rem;
    }
    
    .showroom-actions .btn-primary,
    .showroom-actions .btn-outline {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-box input {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 8px;
    }
    
    /* Tối ưu footer cho mobile nhỏ */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0.25rem;
    }
    
    .footer-col ul li a {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* Performance Optimizations */
.parallax-bg {
    will-change: transform;
}

.solution-card,
.project-card,
.process-item {
    will-change: transform;
}

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

/* Focus States */
button:focus,
input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility - All animations disabled */
* {
    animation: none !important;
    transition: none !important;
}

/* Keep only essential transitions for hover effects */
.btn-primary, .btn-outline, .solution-btn, .nav-link {
    transition: all 0.3s ease !important;
}

.solution-card:hover, .project-card:hover, .process-item:hover {
    transition: all 0.3s ease !important;
}

.parallax-bg {
    transform: none !important;
}
