/* 
 * Kurumsal V11 - Premium Modern Stylesheet
 */

/* Custom Reset & Base variables */
:root {
    --primary: #ef233c;
    --primary-hover: #d90429;
    --primary-light: #ffccd5;
    --dark: #11151c;
    --dark-medium: #1f242d;
    --dark-light: #2c3340;
    --light: #f4f6f9;
    --light-accent: #e9ecef;
    --white: #ffffff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--light);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Header Navigation Styles */
.site-header {
    background-color: var(--dark);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 90px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.logo span {
    background: linear-gradient(45deg, var(--white), #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary-navigation {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    color: #e2e8f0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

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

.nav-list a:hover {
    color: var(--white);
}

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

.nav-list a.active {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    position: relative;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-selector .current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 120px;
    background-color: var(--dark-medium);
    border: 1px solid var(--dark-light);
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #e2e8f0;
    font-size: 0.85rem;
}

.lang-dropdown li a:hover {
    background-color: var(--dark-light);
    color: var(--white);
}

.search-btn {
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Header Dropdown Search Bar */
.header-search-bar {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--dark-medium);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
    display: none;
    animation: slideDown 0.3s ease;
    z-index: 90;
}

.header-search-bar form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

.header-search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--dark-light);
    background-color: var(--dark-light);
    color: var(--white);
    border-radius: 30px 0 0 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.header-search-bar button {
    padding: 0 25px;
    background-color: var(--primary);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.header-search-bar button:hover {
    background-color: var(--primary-hover);
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mobile-nav-toggle {
    display: none;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 620px;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,21,28,0.95) 0%, rgba(17,21,28,0.8) 50%, rgba(17,21,28,0.4) 100%);
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.slide-text {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.slide.active .slide-text {
    transform: translateY(0);
    opacity: 1;
}

.slide-text h4 {
    color: var(--primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.slide-text h2 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.slide-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
}

.slide-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9) rotate(2deg);
    opacity: 0;
    transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.slide.active .slide-image-box {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.slide-image-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Slider Navigation Buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(239, 35, 60, 0.5);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Counter Statistics Panel */
.stats-panel {
    position: relative;
    margin-top: -60px;
    z-index: 20;
    margin-bottom: 40px;
}

.stats-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    display: block;
}

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

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

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(239, 35, 60, 0.1);
}

.service-card:hover::before {
    background-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 35, 60, 0.1) 0%, rgba(31, 36, 45, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link ion-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

.service-card:hover .service-link ion-icon {
    transform: translateX(5px);
}

/* Hakkımızda Section */
.about-section {
    background-color: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-badges-bar {
    margin-top: 35px;
    background-color: var(--dark);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--white);
}

.about-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.about-badge-item ion-icon {
    font-size: 1.6rem;
    color: var(--primary);
}

.about-badge-item span {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    height: 420px;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 150px;
    height: 150px;
    border-right: 5px solid var(--primary);
    border-bottom: 5px solid var(--primary);
    border-radius: 0 0 20px 0;
    pointer-events: none;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 150px;
    height: 150px;
    border-left: 5px solid var(--primary);
    border-top: 5px solid var(--primary);
    border-radius: 20px 0 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Products Section */
.products-section {
    background-color: var(--light);
}

.products-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.products-header-wrapper .section-header {
    margin-bottom: 0;
    text-align: left;
}

.products-header-wrapper .section-header h2::after {
    left: 0;
    transform: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(239,35,60,0.3);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feature Banners Section */
.features-section {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-box:hover {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.feature-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-badge {
    background-color: var(--white);
    color: var(--primary);
    transform: rotateY(180deg);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-box:hover h3 {
    color: var(--white);
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.feature-box:hover p {
    color: rgba(255,255,255,0.7);
}

/* Projects Section */
.projects-section {
    background-color: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(17,21,28,0.9) 0%, rgba(17,21,28,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.project-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-btn {
    align-self: flex-start;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-btn ion-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

.project-btn:hover ion-icon {
    transform: translateX(4px);
}

/* Testimonial Section */
.testimonials-section {
    background-color: var(--dark-medium);
    color: var(--white);
    position: relative;
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.testimonial-client {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    margin-bottom: 15px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Carousel Navigation */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 5;
}

.testimonial-nav:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

/* Blog / News Section */
.blog-section {
    background-color: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(239,35,60,0.3);
}

.blog-info {
    padding: 30px 25px 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-info h3 a:hover {
    color: var(--primary);
}

.blog-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-link ion-icon {
    font-size: 1.1rem;
}

.blog-link:hover {
    color: var(--primary-hover);
}

/* Footer Section Styling */
.site-footer {
    background-color: var(--dark);
    color: #e2e8f0;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 2px;
}

.footer-logo img {
    max-height: 45px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact-info ion-icon {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-info a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
}

.footer-links ul li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 25px 0;
    background-color: #0c0f14;
    font-size: 0.85rem;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Floating contact buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.float-whatsapp {
    background-color: #25d366;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-phone {
    background-color: var(--primary);
}

.float-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 35, 60, 0.4);
}

/* Subpages Styling */
.page-hero {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs span {
    color: rgba(255,255,255,0.4);
}

/* Detail page template styling */
.detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.detail-body-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.detail-main-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
    max-height: 480px;
}

.detail-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail-text p {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.sidebar-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-box h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: var(--light);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Contact page styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(239, 35, 60, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-box-detail h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.contact-box-detail p,
.contact-box-detail a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-box-detail a:hover {
    color: var(--primary);
}

.contact-form-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-container {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .primary-navigation {
        position: fixed;
        inset: 90px 0 0 0;
        background-color: var(--dark-medium);
        z-index: 999;
        flex-direction: column;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        height: calc(100vh - 90px);
    }
    
    .primary-navigation.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .nav-list a {
        font-size: 1.3rem;
    }
    
    .mobile-nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1000;
    }
    
    .hamburger {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--white);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--white);
        position: absolute;
        transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        bottom: -8px;
    }
    
    /* Close icon state */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .slide-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slide-image-box {
        display: none; /* Hide slider image box on tablets/mobile to focus on content */
    }
    
    .slide-text h2 {
        font-size: 2.4rem;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-card {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    
    .stat-item::after {
        display: none !important;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .about-badges-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
