/* Reset and Base Styles */
:root {
    --primary-color: #009B77; /* Teal from poster */
    --secondary-color: #FFC107; /* Yellow/Gold from poster */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --dark-bg: #222;
    --light-bg: #fff;
    --accent-hover: #007a5e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--light-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color); /* Updated to Teal */
    text-transform: uppercase;
    letter-spacing: 1px;
}

header nav ul {
    display: flex;
    gap: 20px;
}

header nav a {
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

header nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background-color: var(--dark-bg);
    color: #fff;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

#hero .container {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.5); /* Overlay to make text pop over images */
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color); /* Yellow highlights */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.service-area {
    font-style: italic;
    margin-bottom: 2rem !important;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 0.6; /* Slightly dimmed for text readability */
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }
    .about-text {
        flex: 1;
    }
}

/* Services */
#services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Gallery */
#gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #eee;
    aspect-ratio: 1 / 1; /* Force square aspect ratio */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact */
#contact {
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0;
}

#contact h2 {
    color: #fff;
}

#contact h2::after {
    background: var(--secondary-color);
}

#contact > .container > p {
    color: rgba(255,255,255,0.9);
}

.contact-info {
    background: #fff;
    color: #333;
    padding: 50px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row; /* Changed to row for icons */
    align-items: center; /* Center icons vertically */
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    gap: 15px; /* Space between icon and text */
}

.contact-info p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-info a {
    color: #333;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 30px 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.4s;
    border: 2px solid var(--secondary-color);
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0}
    to {transform:scale(1); opacity: 1}
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s ease;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next {
  right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
  background-color: var(--primary-color);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 1rem;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #hero h2 {
        font-size: 2rem;
    }

    .lightbox-content {
        width: 100%;
        border: none;
    }

    .prev, .next {
        padding: 10px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
}
