/* Core Styles & Variables */
:root {
    --primary-color: #2c3e50;
    /* Dark blue/grey for text and accents */
    --secondary-color: #3498db;
    /* A vibrant blue for highlights */
    --accent-color: #e67e22;
    /* Orange for calls to action */
    --text-color: #333;
    --light-text-color: #555;
    --light-bg: #f8f8f8;
    --dark-bg: #222;
    --white: #fff;
    --border-radius: 8px;
    /* Slightly larger radius */
    --transition-speed: 0.3s ease-in-out;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base font size */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    /* Improved readability */
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reusable Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    /* Slightly more padding */
}

.section {
    padding: 100px 0;
    /* More vertical space */
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2em;
    /* Larger section titles */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 70px;
    /* More space below title */
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    /* Longer underline */
    height: 5px;
    /* Thicker underline */
    background-color: var(--secondary-color);
    bottom: -20px;
    /* More space below title */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.text-white {
    color: var(--white) !important;
    /* Use !important for utility class overrides */
}

.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-80 {
    margin-top: 80px;
}

/* New utility for more spacing */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #34495e;
    /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2980b9;
    /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #d86c12;
    /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-top: 15px;
}

.read-more:hover {
    color: var(--primary-color);
    gap: 12px;
    /* Subtle animation */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    background-color: var(--white);
    padding: 18px 0;
    /* Slightly more padding */
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: padding var(--transition-speed), box-shadow var(--transition-speed);
}

.header.scrolled {
    padding: 10px 0;
    /* Shrink header on scroll */
    box-shadow: var(--shadow-medium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping for mobile */
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    white-space: nowrap;
    /* Prevent breaking logo name */
}

.logo span {
    font-size: 0.4em;
    font-weight: 400;
    color: #777;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.logo.footer-logo {
    color: var(--white);
}

.logo.footer-logo span {
    color: #ccc;
}

.main-nav ul {
    display: flex;
}

.nav-menu li {
    margin-left: 35px;
    /* More space between links */
}

.nav-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05em;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
    /* More padding for underline */
    transition: color var(--transition-speed);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    /* Thicker underline */
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width var(--transition-speed);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    /* Active state styling */
    color: var(--secondary-color);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.contact-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    font-size: 1em;
}

.hamburger {
    display: none;
    /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 7px;
    /* More space between bars */
    padding: 5px;
    /* Clickable area */
    background: none;
    border: none;
    position: relative;
    z-index: 100;
    /* Ensure it's above other elements when active */
}

.hamburger .bar {
    width: 30px;
    /* Longer bars */
    height: 4px;
    /* Thicker bars */
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section (Homepage specific) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
    /* Account for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    filter: brightness(60%);
    /* Darken image slightly */
    z-index: -1;
    animation: zoomOut 20s infinite alternate;
    /* Subtle zoom animation */
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5em;
    /* Larger, more impactful */
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.6em;
    margin-bottom: 50px;
    font-weight: 400;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

/* Hero Text Animations (triggered by JS on load) */
.animate-hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s forwards ease-out;
}

.hero h1.animate-hero-text {
    animation-delay: 0.3s;
}

.hero p.animate-hero-text {
    animation-delay: 0.6s;
}

.hero .animate-hero-btn {
    animation-delay: 0.9s;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header Section (for sub-pages) */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    /* Adjust padding for fixed header */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
    /* Space from fixed header */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Overlay */
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 0.8s forwards ease-out 0.3s;
}

.page-header p {
    font-size: 1.3em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 0.8s forwards ease-out 0.5s;
}


/* About Overview Section (Homepage) */
.about-overview-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    /* More space */
    text-align: left;
}

.about-overview-text,
.about-overview-image {
    flex: 1;
    min-width: 400px;
    /* Ensure content doesn't get too squished */
}

.about-overview-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-overview-text p {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin-bottom: 18px;
}

.about-overview-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Services Overview Section (Homepage) & General Service Card */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
    position: relative;
    /* For icon positioning */
    overflow: hidden;
}

.service-card::before {
    /* Subtle background pattern */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0) 70%);
    opacity: 0;
    transform: scale(0);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-card i {
    font-size: 4em;
    /* Larger icons */
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    /* Keep icon above pseudo-element */
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9em;
    color: var(--primary-color);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 1.05em;
    color: var(--light-text-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    /* More pronounced lift */
    box-shadow: var(--shadow-medium);
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
}

.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: inherit;
    /* Inherit color from parent (white) */
}

.cta-section p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: inherit;
}

/* About Full Content Section (About Page) */
.about-full-content .content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    text-align: left;
    margin-bottom: 80px;
    /* Space between blocks */
}

.about-full-content .content-block:last-of-type {
    margin-bottom: 0;
}

.about-full-content .content-block.reverse-layout {
    flex-direction: row-reverse;
    /* Swap order */
}

.about-full-content .content-text,
.about-full-content .content-image {
    flex: 1;
    min-width: 450px;
}

.about-full-content .content-text p {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin-bottom: 18px;
}

.about-full-content .content-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.about-full-content .our-values {
    margin-top: 100px;
}

.about-full-content .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-full-content .value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.about-full-content .value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.about-full-content .value-item i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.about-full-content .value-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-full-content .value-item p {
    font-size: 0.95em;
    color: var(--light-text-color);
}


/* Services Detail Section (Services Page) */
.service-detail-section .content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.service-detail-section .content-block.reverse-layout {
    flex-direction: row-reverse;
}

.service-detail-section .content-text,
.service-detail-section .content-image {
    flex: 1;
    min-width: 450px;
}

.service-detail-section .content-text p {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin-bottom: 18px;
}

.service-detail-section .content-text ul {
    margin-top: 20px;
}

.service-detail-section .content-text ul li {
    font-size: 1.05em;
    color: var(--light-text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-detail-section .content-text ul li i {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-top: 3px;
}

.service-detail-section .content-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Why Choose Us Mini Section (Services Page) */
.why-choose-us .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-choose-us .feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.why-choose-us .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.why-choose-us .feature-item i {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.why-choose-us .feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-choose-us .feature-item p {
    font-size: 0.95em;
    color: var(--light-text-color);
}

/* Contact Details Section (Contact Page) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    text-align: left;
}

.contact-info-block {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-info-block h3,
.contact-form-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 2.5em;
    color: var(--secondary-color);
    width: 40px;
    /* Fixed width for icon */
    text-align: center;
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.1em;
    color: var(--light-text-color);
}

.info-item a {
    color: var(--light-text-color);
    /* Link color in info block */
    text-decoration: underline;
}

.info-item a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-links-lg {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links-lg a {
    font-size: 2.8em;
    /* Larger social icons */
    color: var(--primary-color);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-links-lg a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
    /* More pronounced lift */
}

.contact-form-block {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .submit-btn {
    width: auto;
    /* Allow button to size naturally */
    padding: 15px 40px;
    font-size: 1.1em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.google-map {
    padding-top: 0;
    /* No top padding as it might follow another section */
    margin-top: 80px;
    /* Space from above section */
}

.map-container {
    height: 450px;
    /* Fixed height for map */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-top: 50px;
    /* Space from title */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Add/Modify these rules in your css/style.css */

.footer-custom-logo-link {
    display: flex;
    /* Make the link a flex container */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically (if needed, but mainly for block alignment) */
    margin-bottom: 20px;
    /* Space below the logo */
    /* text-align: center; This can also work if display:block and margin:auto is used on the img */
}

.footer-custom-logo-link img {
    max-width: 200px;
    /* Set max-width as desired */
    height: auto;
    /* Maintain aspect ratio */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    /* Subtle white glow */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.footer-custom-logo-link img:hover {
    transform: scale(1.05);
    /* Subtle zoom on hover */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    /* More prominent glow on hover */
}

/* Adjust the .logo.footer-logo rule if it still shows the "ENVER" text logo */
/* If you want only the Witly logo in the footer, you might need to hide the default ENVER logo for the footer specifically */
.footer .logo.footer-logo {
    /* This targets the ENVER text logo in the footer if it's still there */
    display: none;
    /* Hide the ENVER text logo in the footer if you only want the Witly image */
}

/* Ensure the ENVER logo remains in the header */
.header .logo {
    display: flex;
    /* Or whatever display property it had originally */
}

/* Styling for the new attribution link */
.footer-bottom p a {
    color: var(--secondary-color);
    /* Use your secondary color for the link */
    font-weight: 600;
    text-decoration: underline;
    transition: color var(--transition-speed), text-decoration var(--transition-speed);
}

.footer-bottom p a:hover {
    color: var(--white);
    /* Change color on hover */
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
    /* More padding at top */
    font-size: 0.95em;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-col p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: color var(--transition-speed);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col .info-item {
    gap: 10px;
}

.footer-col .info-item i {
    font-size: 1.2em;
    width: auto;
    color: var(--secondary-color);
}

.footer-col .info-item p {
    margin-bottom: 0;
}

.footer-col .info-item a {
    text-decoration: none;
    color: #ccc;
}

.footer-col .info-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.8em;
    color: var(--white);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.85em;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 55px;
    /* Larger button */
    height: 55px;
    font-size: 1.5em;
    /* Larger icon */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #d86c12;
    transform: translateY(-5px);
    /* More pronounced lift */
}

/* === GALERİ === */
.gallery {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.2s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: auto;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}
