/* Delivery Page Specific Styles */

.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/delivery-banner.jpg');
    background-size: cover;
    background-position: center;
}

.delivery-intro {
    padding: 40px 0;
}

.delivery-intro h2 {
    font-size: 28px;
    color: #2a7a9e;
    text-align: center;
    margin-bottom: 40px;
}

.delivery-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.delivery-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.delivery-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.delivery-methods {
    background-color: #f5f5f5;
    padding: 60px 0;
    margin: 40px 0;
}

.delivery-methods h2 {
    font-size: 28px;
    color: #2a7a9e;
    text-align: center;
    margin-bottom: 40px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.method-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.method-icon {
    font-size: 36px;
    color: #2a7a9e;
    margin-bottom: 15px;
    text-align: center;
}

.method-card h3 {
    color: #2a7a9e;
    margin-bottom: 15px;
    text-align: center;
}

.method-card p {
    color: #555;
    margin-bottom: 15px;
}

.method-details {
    margin-top: auto;
}

.method-details .detail-item {
    display: flex;
    margin-bottom: 10px;
}

.detail-label {
    font-weight: bold;
    min-width: 120px;
}

.regions-section {
    padding: 60px 0;
}

.regions-section h2 {
    font-size: 28px;
    color: #2a7a9e;
    text-align: center;
    margin-bottom: 40px;
}

.regions-map {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.regions-map img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.regions-list {
    max-width: 800px;
    margin: 0 auto;
}

.region-item {
    margin-bottom: 30px;
}

.region-item h3 {
    color: #2a7a9e;
    margin-bottom: 15px;
    font-size: 20px;
}

.region-item p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.countries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    margin-top: 15px;
}

.countries-list li {
    list-style-type: none;
}

.region-item .countries-list li:before {
    content: "•";
    color: #2a7a9e;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.shipping-times {
    background-color: #eaf4f9;
    padding: 60px 0;
    margin: 40px 0;
}

.shipping-times h2 {
    font-size: 28px;
    color: #2a7a9e;
    text-align: center;
    margin-bottom: 40px;
}

.shipping-table {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.shipping-table table {
    width: 100%;
    border-collapse: collapse;
}

.shipping-table th {
    background-color: #2a7a9e;
    color: white;
    padding: 15px;
    text-align: left;
}

.shipping-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.shipping-table tr:last-child td {
    border-bottom: none;
}

.shipping-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cost-calculator {
    padding: 60px 0;
}

.cost-calculator h2 {
    font-size: 28px;
    color: #2a7a9e;
    text-align: center;
    margin-bottom: 40px;
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.calculator-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #444;
}

.calculator-form select, .calculator-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.calculator-form button {
    margin-top: 20px;
    background-color: #2a7a9e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.calculator-form button:hover {
    background-color: #1c5c7a;
}

.result-box {
    margin-top: 30px;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 20px;
    display: none;
}

.result-box.visible {
    display: block;
}

.result-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.result-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .delivery-content {
        grid-template-columns: 1fr;
    }
    
    .countries-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shipping-table {
        overflow-x: auto;
    }
    
    .shipping-table table {
        min-width: 600px;
    }
}