/* ===================================
   UZAY YOL YAPIM - Corporate Website
   =================================== */

/* CSS Variables - Color Palette from Logo */
:root {
    --primary-gold: #D4B883;
    --primary-dark: #2D3236;
    --secondary-dark: #1a1d20;
    --accent-gold: #B89968;
    --light-gold: #E8DCC4;
    --text-dark: #2D3236;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --light-bg: #F9FAFB;
    --border-color: #E5E7EB;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(29, 32, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--primary-dark);
    padding: 0.25rem;
    border-radius: 6px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Carousel Section */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 80px;
}

.carousel-container {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}

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

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slider-video {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 32, 36, 0.7) 0%, rgba(45, 50, 54, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 4rem 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content .container {
    max-width: 900px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    color: var(--light-gold);
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(212, 184, 131, 0.3);
    border: 2px solid var(--primary-gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.carousel-arrow:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 184, 131, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 50, 54, 0.2);
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
    background: rgba(212, 184, 131, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 184, 131, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
}

/* Services Section */
.services-section {
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(212, 184, 131, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    border-radius: 50%;
    color: var(--white);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Projects Section */
.featured-projects,
.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 50, 54, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.project-content p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.project-year {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    white-space: nowrap;
}

.project-contractor {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: var(--transition);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    text-align: center;
    padding: 5rem 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

/* Page Header with Background Image */
.page-header {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 32, 36, 0.7) 0%, rgba(45, 50, 54, 0.6) 100%);
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-header h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: var(--light-gold);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* About Page */
.about-content {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(212, 184, 131, 0.2);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    border-radius: 50%;
    color: var(--white);
}

.about-icon svg {
    width: 35px;
    height: 35px;
}

.about-card h3 {
    margin-bottom: 1rem;
}

/* Values Section */
.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-gold);
}

.value-item:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
}

.value-icon svg {
    width: 20px;
    height: 20px;
}

.value-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Company Stats */
.company-stats {
    background: var(--primary-dark);
    padding: 5rem 0;
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number-large {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-label-large {
    color: var(--light-gold);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Detail */
.services-detail {
    background: var(--light-bg);
}

.service-detail-card {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(212, 184, 131, 0.2);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    border-radius: 12px;
    color: var(--white);
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 50px;
    height: 50px;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    margin-bottom: 1rem;
}

.service-features {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Achievements */
.achievements-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(212, 184, 131, 0.2);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-details {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 2;
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(212, 184, 131, 0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 25px;
    height: 25px;
}

.contact-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-card-content p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-section {
    height: 400px;
    background: var(--light-bg);
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: var(--white);
}

.map-overlay p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-gold);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 184, 131, 0.3);
}

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

.gallery-item {
    transition: var(--transition);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-info p {
    color: var(--light-gold);
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-image:hover .gallery-info h3,
.gallery-image:hover .gallery-info p {
    transform: translateY(0);
}

.gallery-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transform: scale(0) rotate(-180deg);
    transition: transform 0.4s ease 0.2s;
}

.gallery-image:hover .gallery-icon {
    transform: scale(1) rotate(0deg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    animation: lightboxZoom 0.3s ease;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    border-radius: 0 0 8px 8px;
}

.lightbox-info h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: var(--light-gold);
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(212, 184, 131, 0.3);
    border: 2px solid var(--primary-gold);
    color: var(--white);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--primary-gold);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 184, 131, 0.3);
    border: 2px solid var(--primary-gold);
    color: var(--white);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary-gold);
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.company-name {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p,
.footer-column ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Animation */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Carousel Tablet */
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .carousel-arrow.prev {
        left: 1rem;
    }
    
    .carousel-arrow.next {
        right: 1rem;
    }
    
    .carousel-nav {
        bottom: 6rem;
    }
    
    .hero-stats {
        padding: 2rem 0;
    }
    
    /* Tablet Carousel Text */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .service-detail-card {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 8rem 0 4rem;
        min-height: 300px;
    }
    
    /* Gallery Tablet */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-filter {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Medium Mobile Devices */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 2.5rem 1.5rem;
    }
    
    .btn {
        padding: 1rem 2.25rem;
        font-size: 0.95rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .stats-grid,
    .stats-grid-large {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-arrow.prev {
        left: 0.5rem;
    }
    
    .carousel-arrow.next {
        right: 0.5rem;
    }
    
    /* Mobile Carousel Text Optimization */
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
        width: auto;
        min-width: 200px;
    }
    
    .carousel-nav {
        bottom: 5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-filter {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-info {
        padding: 1.5rem;
    }
    
    .lightbox-info h2 {
        font-size: 1.25rem;
    }
    
    .lightbox-info p {
        font-size: 0.95rem;
    }
    
    .lightbox-counter {
        bottom: 1rem;
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

/* Extra Small Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.45;
        margin-bottom: 1.75rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.875rem;
        min-width: 180px;
    }
    
    .carousel-nav {
        bottom: 4.5rem;
    }
}
