/* Reset */

/* Main Section Styling */
.diageo-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Text Area Styling */
.text-area {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

.text-area h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.text-area p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Image Gallery Styling */
.image-gallery {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* Main Image */
.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 5px solid #f4f4f4;
}

/* Sub Images Grid */
.sub-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    background-color: white;
}

.sub-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .diageo-section {
        flex-direction: column;
    }

    .text-area, .image-gallery {
        flex: 1;
    }

    .text-area h2 {
        font-size: 24px;
    }

    .text-area p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .sub-images {
        grid-template-columns: 1fr;
    }

    .sub-images img {
        height: 100px;
    }

    .text-area {
        padding: 15px;
    }

    .text-area h2 {
        font-size: 22px;
    }

    .text-area p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .text-area h2 {
        font-size: 20px;
    }

    .text-area p {
        font-size: 12px;
    }

    .sub-images img {
        height: 80px;
    }
}
