/* Travel Content Manager - Frontend Styles */

.tcm-package {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.tcm-package-header {
    margin-bottom: 30px;
}

.tcm-package-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.tcm-package-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.tcm-package-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tcm-package-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.tcm-package-gallery-section {
    margin-bottom: 40px;
}

.tcm-package-gallery-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tcm-package-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.tcm-package-main {
    /* Main content area */
}

.tcm-package-sidebar {
    /* Sidebar area */
}

.tcm-package-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tcm-package-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tcm-package-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.tcm-package-info-item {
    display: flex;
    flex-direction: column;
}

.tcm-package-info-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.tcm-package-info-value {
    color: #333;
}

.tcm-package-price {
    background: #0073aa;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.tcm-package-price-label {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 5px;
}

.tcm-package-price-value {
    font-size: 2em;
    font-weight: bold;
}

.tcm-package-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tcm-package-gallery img,
.tcm-package-gallery .tcm-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.tcm-package-gallery img:hover,
.tcm-package-gallery .tcm-gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tcm-package-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tcm-package-features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.tcm-package-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

.tcm-package-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tcm-package-pdf-list li {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
}

.tcm-package-pdf-list a {
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.tcm-package-pdf-list a:before {
    content: "📄";
    margin-right: 10px;
    font-size: 1.2em;
}

.tcm-package-pdf-list a:hover {
    text-decoration: underline;
}

/* Packages List */
.tcm-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tcm-package-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.tcm-package-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tcm-package-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tcm-package-card-content {
    padding: 20px;
}

.tcm-package-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.tcm-package-card-subtitle {
    color: #666;
    margin-bottom: 15px;
}

.tcm-package-card-excerpt {
    margin-bottom: 15px;
    color: #555;
}

.tcm-package-card-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 15px;
}

.tcm-package-card-link {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.tcm-package-card-link:hover {
    background: #005a87;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .tcm-package {
        padding: 0 15px;
    }
    
    .tcm-package-content {
        grid-template-columns: 1fr;
    }
    
    .tcm-package-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tcm-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .tcm-package-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .tcm-package {
        padding: 0 10px;
    }
    
    .tcm-package-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Travel Program Styles */
.tcm-program {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.tcm-program-header {
    margin-bottom: 30px;
}

.tcm-program-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.tcm-program-subtitle {
    font-size: 1.3em;
    color: #0073aa;
    margin-bottom: 10px;
    font-weight: 600;
}

.tcm-program-duration-breakdown {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
}

.tcm-program-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tcm-program-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.tcm-program-gallery-section {
    margin-bottom: 40px;
}

.tcm-program-gallery-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tcm-program-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tcm-program-gallery img,
.tcm-program-gallery .tcm-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.tcm-program-gallery img:hover,
.tcm-program-gallery .tcm-gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tcm-program-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.tcm-program-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tcm-program-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tcm-note {
    font-size: 0.7em;
    font-weight: normal;
    color: #666;
}

.tcm-program-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.tcm-program-info-item {
    display: flex;
    flex-direction: column;
}

.tcm-program-info-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.tcm-program-info-value {
    color: #333;
}

.tcm-program-itinerary {
    line-height: 1.8;
}

.tcm-itinerary-day-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.tcm-itinerary-day-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tcm-day-title {
    color: #0073aa;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.tcm-day-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.tcm-day-image {
    width: 100%;
}

.tcm-day-image-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tcm-day-description {
    line-height: 1.8;
    color: #333;
}

/* Responsive for day content */
@media (max-width: 768px) {
    .tcm-day-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tcm-day-image {
        margin-bottom: 15px;
    }
}

.tcm-program-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tcm-program-features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.tcm-program-features-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
    font-size: 1.2em;
}

.tcm-program-price {
    background: #0073aa;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tcm-program-price h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.tcm-program-price-item {
    margin-bottom: 10px;
}

.tcm-program-price-label {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 5px;
}

.tcm-program-price-value {
    font-size: 1.8em;
    font-weight: bold;
}

.tcm-program-price-note {
    font-size: 0.8em;
    opacity: 0.8;
    margin-top: 5px;
}

.tcm-program-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tcm-program-pdf-list li {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
}

.tcm-program-pdf-list a {
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.tcm-program-pdf-list a:before {
    content: "📄";
    margin-right: 10px;
    font-size: 1.2em;
}

.tcm-program-pdf-list a:hover {
    text-decoration: underline;
}

/* Programs List */
.tcm-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tcm-program-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.tcm-program-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tcm-program-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tcm-program-card-content {
    padding: 20px;
}

.tcm-program-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.tcm-program-card-subtitle {
    color: #0073aa;
    font-weight: 600;
    margin-bottom: 8px;
}

.tcm-program-card-duration {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.tcm-program-card-excerpt {
    margin-bottom: 15px;
    color: #555;
}

.tcm-program-card-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 15px;
}

.tcm-program-card-link {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.tcm-program-card-link:hover {
    background: #005a87;
    color: #fff;
}

/* Responsive for Programs */
@media (max-width: 768px) {
    .tcm-program-content {
        grid-template-columns: 1fr;
    }
    
    .tcm-program-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tcm-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .tcm-program-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .tcm-program {
        padding: 0 10px;
    }
    
    .tcm-program-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
