/*
Theme Name: apt-ckt
Theme URI: 
Author: Cong Viet IT
Author URI: https://note.congvietit.com/
Description: Custom WordPress Theme built from scratch.
Version: 1.0.0
Template: flatsome
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apt-ckt
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* ==========================================================================
   Section 1: Hero Banner (Background Fullscreen)
   ========================================================================== */
.apt-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient che mờ trên/dưới để làm nổi bật logo và text */
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 15px 40px 15px;
    text-align: center;
}

/* Top Content: Logo CSS */
.apt-logo-text {
    font-size: 110px;
    font-family: 'Arial Black', Impact, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 5px;
    display: inline-block;
    position: relative;
    letter-spacing: -3px;
}
.apt-logo-text .apt {
    background: linear-gradient(to bottom, #f5f5f5 0%, #b0b0b0 30%, #828282 50%, #9a9a9a 55%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.4));
    margin-right: 5px;
}
.apt-logo-text .glass {
    color: #c21f25;
    text-shadow: 0px 3px 2px rgba(0,0,0,0.3);
}
.apt-logo-text .trademark {
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: -25px;
    color: #333;
    -webkit-text-fill-color: #333;
    text-shadow: none;
    font-weight: normal;
    letter-spacing: 0;
}

.hero-slogan {
    font-size: 28px;
    color: #4a4a4a;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background-color: #c21f25;
    margin: 0 auto;
}

/* Bottom Content */
.hero-bottom {
    margin-bottom: 0px;
}

.hero-subtext {
    font-size: 26px;
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-maintext {
    font-size: 56px;
    color: #c21f25;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-standard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-standard .line {
    width: 120px;
    height: 2px;
    background-color: #c21f25;
}

.hero-standard .text {
    font-size: 28px;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   Section 2: About Us (3 Rows Layout)
   ========================================================================== */
.apt-about {
    position: relative;
    padding: 80px 0;
    background-color: #f7f7f7;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Hiệu ứng gradient che đi phần bên trái của ảnh nền sảnh kính */
.about-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(247,247,247,1) 0%, rgba(247,247,247,0.9) 60%, rgba(247,247,247,0.2) 100%);
    z-index: 1;
}

.relative.z-2 {
    position: relative;
    z-index: 2;
}

.about-rows-wrapper {
    max-width: 1000px;
    margin: 0; /* Canh trái để chừa góc phải cho ảnh */
}

.about-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 50px;
}
.about-row:last-child {
    margin-bottom: 0;
}

/* Icon (Cột 1) */
.about-icon-col {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}
.about-icon-circle img, .about-icon-circle svg {
    max-width: 45px;
    max-height: 45px;
}

/* Line (Cột 2) */
.about-divider-col {
    flex: 0 0 60px;
    display: flex;
    justify-content: center;
    padding-top: 15px;
}
.about-vert-line {
    width: 2px;
    height: calc(100% - 15px);
    background-color: #c21f25;
}

/* Text (Cột 3) */
.about-text-col {
    flex: 1;
    padding-top: 15px;
    font-size: 19px;
    color: #444;
    line-height: 1.7;
}
.about-text-col p {
    margin-bottom: 15px;
}
.about-text-col p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .apt-about { background-image: none !important; }
    .about-bg-overlay { background: rgba(247,247,247,1); }
    .about-rows-wrapper { margin: 0 auto; }
}

@media (max-width: 768px) {
    .apt-logo-text { font-size: 60px; letter-spacing: -1px; }
    .apt-logo-text .trademark { font-size: 16px; right: -15px; }
    .hero-slogan { font-size: 18px; margin-top: 10px; }
    .hero-maintext { font-size: 32px; }
    .hero-subtext { font-size: 18px; }
    .hero-standard .text { font-size: 20px; }
    .hero-standard .line { width: 50px; }

    .about-row { flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; }
    .about-divider-col { width: 100%; height: 20px; margin: 15px 0; padding-top: 0; }
    .about-vert-line { width: 60px; height: 3px; min-height: 3px; }
    .about-text-col { padding-top: 0; font-size: 17px; }
}
