/* Guide Companies Page - Simple & Clear Style */

/* PIN Authentication Overlay */
.pin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.pin-modal {
    background: #fff;
    border: 2px solid #0066cc;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pin-modal h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pin-modal p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pin-input {
    background: #f8f8f8;
    border: 2px solid #ddd;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
    width: 200px;
    letter-spacing: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pin-input:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
}

.pin-submit {
    background: #0066cc;
    border: none;
    color: #fff;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pin-submit:hover {
    background: #0052a3;
}

.pin-error {
    color: #dc3545;
    margin-top: 1rem;
    font-size: 0.9rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Page Header */
.page-header {
    background: #f8f9fa;
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.header-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Guide Introduction Section */
.guide-intro {
    padding: 60px 0;
    background: #fff;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Tour Plans Section */
.tour-plans {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Plan Cards */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

/* Plan Badge */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Plan Images */
.plan-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #e9ecef;
}

.image-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.3;
}

.guide-tour-1 { background: #e3f2fd; }
.guide-tour-2 { background: #fff3e0; }
.guide-tour-3 { background: #f3e5f5; }

/* Plan Content */
.plan-content {
    padding: 2rem;
}

.plan-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.plan-duration {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.plan-price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

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

.plan-features li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
    width: 100%;
    border: none;
}

.btn-primary:hover {
    background: #0052a3;
}

/* Common Rules Section */
.common-rules-section {
    padding: 80px 0;
    background: #fff;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.rule-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.rule-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.rule-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Partnership Section */
.partnership-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Safety Cooperation Section */
.safety-cooperation {
    padding: 80px 0;
    background: #fff;
}

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

.safety-content h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.safety-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.safety-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.safety-item ul {
    list-style: none;
    padding: 0;
}

.safety-item ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.safety-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* Contact Section */
.guide-contact-section {
    padding: 80px 0;
    background: #0066cc;
    color: #fff;
}

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

.contact-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-wrapper > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-item p {
    line-height: 1.6;
}

.contact-item a {
    color: #fff;
    text-decoration: underline;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    width: auto;
    display: inline-block;
    background: #fff;
    color: #0066cc;
}

.btn-large:hover {
    background: #f8f9fa;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    color: #333;
    margin-bottom: 2rem;
}

.modal-content .close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.modal-content .close:hover {
    color: #333;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: #666;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-label a {
    color: #0066cc;
}

.required {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* PIN modal adjustments for mobile */
    .pin-overlay {
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .pin-modal {
        margin-top: 0;
        padding: 2rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
}