/* Industrial Oto Ã‡ekici Custom CSS */
:root {
    --primary: #FF6B35;
    --secondary: #2C3E50;
    --accent: #E74C3C;
    --metal: #7F8C8D;
    --red-500: #E74C3C;
    --red-600: #C0392B;
    --green-500: #27AE60;
    --green-600: #229954;
    --gray-50: #ECF0F1;
    --gray-100: #D5DBDB;
    --gray-200: #BDC3C7;
    --gray-300: #95A5A6;
    --gray-600: #566573;
    --gray-700: #34495E;
    --white: #FFFFFF;
    --black: #1C2833;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--gray-50);
    position: relative;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(0,0,0,.02) 35px,
            rgba(0,0,0,.02) 70px
        );
    pointer-events: none;
    z-index: 1;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Animations */
@keyframes industrial-slide {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes gear-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes metal-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-fade-in { animation: industrial-slide 0.8s ease-out; }
.animate-slide-up { animation: industrial-slide 1s ease-out 0.2s both; }
.animate-bounce-slow { animation: gear-rotate 8s linear infinite; }
.animate-pulse { animation: metal-shine 3s ease-in-out infinite; }

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 1rem;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.75;
    transition: opacity 0.3s;
}

.floating-buttons:hover {
    opacity: 1;
}

.floating-btn {
    background: var(--primary);
    color: var(--white);
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.floating-btn:hover::before {
    left: 100%;
}

.floating-btn:hover {
    background: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn.whatsapp {
    background: var(--green-500);
}

.floating-btn.whatsapp:hover {
    background: var(--green-600);
}

.floating-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 1rem;
    left: 0;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 5px 5px 5px 0;
    padding: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 40;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.scroll-to-top.active {
    opacity: 0.75;
    visibility: visible;
}

.scroll-to-top.active:hover {
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

/* Top Announcement Bar */
.announcement-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.announcement-content svg {
    width: 1rem;
    height: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-700) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B35' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 5rem 0;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.5rem; }
}

/* Emergency Call Box */
.emergency-box {
    background: rgba(236, 240, 241, 0.95);
    border: 3px solid var(--primary);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    max-width: 28rem;
    margin: 0 auto 2rem;
    position: relative;
}

.emergency-box::before,
.emergency-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
}

.emergency-box::before {
    top: -10px;
    left: -10px;
}

.emergency-box::after {
    bottom: -10px;
    right: -10px;
}

.emergency-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emergency-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emergency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.emergency-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.emergency-btn:hover::after {
    width: 300px;
    height: 300px;
}

.emergency-btn.phone {
    background: var(--red-500);
    color: var(--white);
    border: 2px solid var(--red-600);
}

.emergency-btn.phone:hover {
    background: var(--red-600);
}

.emergency-btn.whatsapp {
    background: var(--green-500);
    color: var(--white);
    border: 2px solid var(--green-600);
}

.emergency-btn.whatsapp:hover {
    background: var(--green-600);
}

.emergency-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.emergency-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
    text-align: center;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; }
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--primary);
    box-shadow: 3px 3px 0 var(--secondary);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--secondary);
}

.btn-primary svg {
    width: 1.5rem;
    height: 1.5rem;
}

.btn-outline {
    border: 3px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    transform: scale(1.05);
}

/* Section Styles */
.section {
    padding: 5rem 0;
    background: var(--gray-50);
    position: relative;
}

.section.bg-gray {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    text-align: left;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image area with fixed white overlay */
.service-img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}

/* Fixed 40% white overlay — always visible */
.service-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Title sits on top of the overlay */
.service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    background: linear-gradient(to top, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
}

/* Body below the image */
.service-body {
    padding: 1.1rem 1.25rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    align-self: flex-start;
}

.service-link:hover {
    color: var(--accent);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-item {
    text-align: center;
}

.feature-icon {
    background: var(--secondary);
    border: 3px solid var(--primary);
    border-radius: 10px;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    transform: rotate(-10deg);
}

.feature-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--white);
}

.feature-item:hover .feature-icon svg {
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.feature-desc {
    color: var(--gray-600);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.about-feature span {
    color: var(--gray-700);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image img {
    border: 5px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border: 3px solid var(--secondary);
    box-shadow: 5px 5px 0 var(--secondary);
    text-align: center;
    transform: rotate(-5deg);
}

.experience-number {
    font-size: 1.875rem;
    font-weight: 900;
}

.experience-text {
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 0;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary);
}

.testimonial-info h4 {
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.testimonial-stars {
    display: flex;
    margin-bottom: 0.75rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.testimonial-text {
    color: var(--gray-700);
    font-style: italic;
}

/* FAQ Section */
.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-question span {
    color: var(--secondary);
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    transform: rotate(0);
    transition: transform 0.3s;
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-700);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-form {
    background: var(--white);
    border: 3px solid var(--gray-200);
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-300);
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-control.textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-info {
    background: var(--secondary);
    color: var(--white);
    border: 3px solid var(--primary);
    box-shadow: 5px 5px 0 var(--primary);
    padding: 2.5rem;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    background-color: var(--primary);
    border-radius: 5px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.contact-info-content h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.contact-info-content p {
    opacity: 0.9;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.blog-image--logo {
    object-fit: contain;
    background: #f5f5f5;
    padding: 1rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.blog-meta svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    color: var(--primary);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.blog-link svg {
    width: 1rem;
    height: 1rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    height: auto;
    border: 3px solid var(--gray-200);
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.gallery-item:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-overlay svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay svg {
    opacity: 1;
}

/* Map Section */
.map-container {
    background-color: var(--gray-100);
    border: 5px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border: 5px solid var(--gray-200);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Utility Styles */
.text-center { text-align: center; }
.hidden { display: none; }
.rotate-180 { transform: rotate(180deg); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 3rem; }
    .section-title { font-size: 1.875rem; }
    .section-subtitle { font-size: 1.125rem; }
}
/* Managed Hero Slider */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--secondary);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity var(--hero-transition-speed, 800ms) ease, transform var(--hero-transition-speed, 800ms) ease, filter var(--hero-transition-speed, 800ms) ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.hero-slide.is-leaving {
    z-index: 1;
}

.hero-slide.transition-slide-left {
    transform: translate3d(5%, 0, 0);
}

.hero-slide.transition-slide-right {
    transform: translate3d(-5%, 0, 0);
}

.hero-slide.transition-slide-up {
    transform: translate3d(0, 5%, 0);
}

.hero-slide.transition-zoom-fade,
.hero-slide.transition-ken-burns {
    transform: scale(1.03);
}

.hero-slide.transition-blur-fade {
    filter: blur(10px);
}

.hero-slide.is-active.transition-blur-fade {
    filter: blur(0);
}

.hero-slide.is-active .hero-bg-image.image-slow-zoom {
    animation: heroSlowZoom 12s ease-out both;
}

.hero-slide.is-active .hero-bg-image.image-slow-zoom-out {
    animation: heroSlowZoomOut 12s ease-out both;
}

.hero-slide.is-active .hero-bg-image.image-pan-right {
    animation: heroPanRight 12s ease-out both;
}

.hero-slide.is-active .hero-bg-image.image-pan-left {
    animation: heroPanLeft 12s ease-out both;
}

.hero-slide.is-active .hero-content.content-fade {
    animation: heroContentFade 700ms ease both;
}

.hero-slide.is-active .hero-content.content-slide-up {
    animation: heroContentSlideUp 800ms ease both;
}

.hero-slide.is-active .hero-content.content-slide-left {
    animation: heroContentSlideLeft 800ms ease both;
}

.hero-slide.is-active .hero-content.content-slide-right {
    animation: heroContentSlideRight 800ms ease both;
}

.hero-slide.is-active .hero-content.content-zoom {
    animation: heroContentZoom 800ms ease both;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(30, 34, 40, 0.55);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.hero-slider-arrow svg {
    width: 24px;
    height: 24px;
}

.hero-slider-prev {
    left: 24px;
}

.hero-slider-next {
    right: 24px;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-slider-dot.is-active {
    width: 34px;
    background: var(--primary);
    border-color: var(--primary);
}

@keyframes heroSlowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes heroSlowZoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

@keyframes heroPanRight {
    from { transform: scale(1.06) translateX(-2%); }
    to { transform: scale(1.06) translateX(2%); }
}

@keyframes heroPanLeft {
    from { transform: scale(1.06) translateX(2%); }
    to { transform: scale(1.06) translateX(-2%); }
}

@keyframes heroContentFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroContentSlideUp {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroContentSlideLeft {
    from { opacity: 0; transform: translateX(-34px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroContentSlideRight {
    from { opacity: 0; transform: translateX(34px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroContentZoom {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .hero-slider,
    .hero-slide {
        min-height: 80vh;
    }

    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .hero-slider-prev {
        left: 16px;
    }

    .hero-slider-next {
        right: 16px;
    }

    .hero-slider-dots {
        bottom: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-bg-image,
    .hero-content {
        animation: none !important;
        transition: none !important;
    }
}
</style>
