/* --- Basic Setup & Typography --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

h1, h2 {
    font-weight: 700;
    margin: 0;
}

p {
    line-height: 1.6;
}

/* --- Hero section --- */
.hero-section {
    height: 200px;
    background-image: 
        linear-gradient(45deg, rgba(44, 49, 57, 0.685), rgba(29, 31, 33, 0.826)),
        url('/Images/hero-section-photo.webp');
    background-size: cover;
    background-position: center;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    color: #fff;
}
.breadcrumb {
    margin: 10px 0 0;
    font-size: 1rem; 
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}

.Home-link{
    color: white;
    text-decoration: none;
}
.aboutUs-link{
    font-weight: 600;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
}
.Home-link:hover, .aboutUs-link:hover{
    color: #007BFF;
}


/* --- Layout Container --- */
.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    padding: 50px 0;
}

/* --- Introduction Section --- */
.intro-section {
    text-align: center;
    margin-bottom: 50px;
}

.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.intro-section p {
    font-size: 1.1rem;
    max-width: 1000px; 
    margin: 0 auto;
    color: #6c757d;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Portfolio Items Always Fixed Height */
.portfolio-item {
    height: 365px;          /* same height everywhere */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* keep aspect ratio, fill box */
    object-position: top;    /* crop from top if needed */
}

/* Hover effect */
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* single column on mobile */
    }
}

/* --- Modal (Lightbox) Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    display: none; /* Re-hide by default, JS will show it */
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border: none;
}

.prev {
    left: 1rem;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 1rem;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


/* --- Responsive Design (Media Queries) --- */
/* For tablets and desktops */
@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
    .portfolio-item{
        height: 365px;
        overflow: hidden;
        
    }
}
/* --- getin-touch-section --- */
.getin-touch-section {
    background-color: #fff; /* bg-pink-500 */
    color: #333;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 3rem;
}

.getin-touch-section p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #020101e4;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px; /* rounded-full */
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0d0e0eb9; /* bg-gray-200 */
}
