/* ===================================
   Paksi Laksana - Custom Styles
   =================================== */

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a4d7a;
    --accent-color: #2ecc71;
    --dark-color: #0a1929;
    --light-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --gradient-primary: linear-gradient(135deg, #1a4d7a 0%, #2980b9 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f39c12 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #1a2332 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 25, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .btn-cta {
    background: var(--gradient-gold);
    color: var(--dark-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-left: 1rem;
}

.navbar-nav .btn-cta::after {
    display: none;
}

.navbar-nav .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.85) 0%, rgba(26, 77, 122, 0.75) 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta .btn-primary {
    background: var(--gradient-gold);
    border: none;
    color: var(--dark-color);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    margin-top: 4rem;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===================================
   Section Styles
   =================================== */

.story-section {
    background: var(--light-color);
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.story-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.story-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.story-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlight-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.timeline-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Timeline
   =================================== */

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 40px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    width: 160px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.timeline-item.active .timeline-marker {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(26, 77, 122, 0.4);
}

.timeline-content {
    margin-left: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

/* ===================================
   Map Container
   =================================== */

.map-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container h3 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.map-container img {
    border-radius: 15px;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.legend-item i {
    font-size: 1.5rem;
}

/* ===================================
   Ventures Section
   =================================== */

.ventures-section {
    background: white;
    padding: 100px 0;
}

.venture-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.venture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.venture-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venture-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.venture-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.venture-description {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.venture-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.venture-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
}

.venture-features li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.venture-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.venture-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.venture-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.venture-link:hover i {
    transform: translateX(5px);
}

/* ===================================
   Invest Section
   =================================== */

.invest-section {
    background: var(--gradient-dark);
    padding: 100px 0;
}

.invest-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.invest-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.invest-stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.invest-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.invest-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.invest-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.invest-benefits {
    padding: 2rem;
}

.benefit-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-color);
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.benefit-content h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: var(--light-color);
    padding: 100px 0;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin: 0 auto 1rem;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #666;
    margin: 0;
}

.contact-info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-gold);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.map-embed {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-color);
    color: var(--text-light);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--primary-color);
}

/* ===================================
   Modal Styles
   =================================== */

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.btn-close:focus {
    box-shadow: none;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    background: var(--gradient-gold);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    background: var(--gradient-gold);
}

.btn-light {
    background: white;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-marker {
        margin: 0 auto 1rem;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .btn-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .venture-card {
        margin-bottom: 2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto 1rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.smooth-scroll {
    scroll-behavior: smooth;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Loading Animation
   =================================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ===================================
   Success/Error Messages
   =================================== */

.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}