/*
Theme Name: Thaimaimages Premium
Theme URI: https://thaimaimages.com/
Author: Antigravity AI
Author URI: https://thaimaimages.com/
Description: A high-conversion, professional real estate visual solutions theme for Thaimaimages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thaimaimages
*/

/* WordPress requires this file to be in the root directory. 
   Actual styles are loaded from css/style.css via functions.php */

/* Thaimaimages.com - Premium Real Estate Visual Solutions */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-navy: #0A2540;
    --secondary-blue: #1E90FF;
    --accent-orange: #FF8A00;
    --accent-teal: #00C896;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --black: #111827;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --border-color: #E2E8F0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-primary); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Header */
header { background-color: var(--white); height: 100px; display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img {
    height: 75px; /* Increased height for better visibility */
    width: auto;
    object-fit: contain;
    display: block;
}
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link { font-weight: 600; font-size: 13px; color: var(--primary-navy); text-transform: uppercase; letter-spacing: 1px; }
.nav-link:hover { color: var(--accent-orange); }

.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 700; font-size: 13px; font-family: var(--font-heading); text-transform: uppercase; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background-color: var(--accent-orange); color: var(--white); }
.btn-primary:hover { background-color: #d97500; transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-navy); color: var(--primary-navy); }

/* Hero */
.hero { background-color: var(--bg-light); padding: 100px 0; border-bottom: 1px solid var(--border-color); }
.hero-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 56px; line-height: 1.1; margin-bottom: 25px; color: var(--primary-navy); }
.hero-text .highlight { color: var(--accent-orange); }
.hero-text p { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 15px; }

/* Slider */
.hero-slider-container { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.before-after-slider { position: relative; width: 100%; height: 100%; cursor: ew-resize; }
.before-image, .after-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.after-image { width: 50%; border-right: 3px solid var(--white); z-index: 10; }
.slider-handle { position: absolute; top: 0; left: 50%; bottom: 0; width: 4px; background-color: var(--white); z-index: 20; transform: translateX(-50%); pointer-events: none; }
.handle-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background-color: var(--accent-orange); border: 3px solid var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--white); }

/* Pricing Section */
.pricing-grid-section { padding: 100px 0; background-color: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.pricing-card { background-color: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border: 2px solid var(--accent-orange); transform: scale(1.05); z-index: 5; }
.pricing-img { height: 200px; overflow: hidden; }
.pricing-img img { width: 100%; height: 100%; object-fit: cover; }
.pricing-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.pricing-header h3 { font-size: 22px; margin-bottom: 10px; color: var(--primary-navy); }
.price { font-size: 32px; font-weight: 800; color: var(--accent-orange); margin-bottom: 20px; }
.price span { font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.pricing-features { margin-bottom: 30px; flex-grow: 1; }
.pricing-features li { margin-bottom: 12px; padding-left: 25px; position: relative; font-size: 15px; color: var(--text-secondary); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-teal); font-weight: 700; }

/* Portfolio Section */
.portfolio-section { padding: 100px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.portfolio-item { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); cursor: pointer; }
.portfolio-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.portfolio-item img { width: 100%; height: 300px; object-fit: cover; }
.portfolio-info { padding: 20px; background: var(--white); }

/* About & Contact in Index */
.index-about { padding: 100px 0; background: var(--white); }
.index-contact { padding: 100px 0; background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.contact-form-card { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-family: inherit; }

/* Specialization */
.specialization { padding: 100px 0; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.spec-card { position: relative; height: 350px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: var(--white); }
.spec-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; transition: var(--transition); }
.spec-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(10,37,64,0.9), transparent); z-index: 2; }
.spec-content { position: relative; z-index: 3; }

/* Page Banner */
.page-banner { background-color: var(--primary-navy); color: var(--white); padding: 80px 0; text-align: center; }
.page-banner h1 { font-size: 42px; margin-bottom: 10px; }

/* Footer */
footer { background-color: var(--primary-navy); color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo img {
    height: 60px;
    margin-bottom: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer-heading { font-size: 16px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #CBD5E0; font-size: 14px; }
.footer-links a:hover { color: var(--accent-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #A0AEC0; font-size: 14px; }

/* Video Support */
.video-container { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--black); }
.video-container video { width: 100%; display: block; }

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

