:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --font-size-small: 0.875rem;
    --font-size-base: 0.9rem;
    --font-size-large: 1rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.25rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 1.875rem;
    --font-size-5xl: 2.25rem;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

h1, .h1 { font-size: var(--font-size-4xl); }
h2, .h2 { font-size: var(--font-size-3xl); }
h3, .h3 { font-size: var(--font-size-2xl); }
h4, .h4 { font-size: var(--font-size-xl); }
h5, .h5 { font-size: var(--font-size-large); }
h6, .h6 { font-size: var(--font-size-base); }

p { font-size: var(--font-size-base); }
small { font-size: var(--font-size-small); }

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar-collapse {
    background-color: var(--primary-color);
}

.dropdown-menu {
    background-color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

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

.dropdown-item {
    color: var(--text-color) !important;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        background-color: var(--primary-color);
    }

    .dropdown-menu {
        background-color: transparent !important;
        border: none;
        padding-left: 1rem;
        box-shadow: none;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-item {
        color: white !important;
        padding: 0.5rem 1rem;
        font-size: var(--font-size-small);
    }

    .dropdown-item:hover {
        background-color: rgba(255,255,255,0.1);
        color: white !important;
        transform: none;
    }

    .navbar-nav .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Sub Hero Section */
.sub-hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://placehold.co/1920x1080/0066cc/white?text=Doğuhan+Beton') center/cover;
    min-height: 40vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    margin-bottom: 2rem;
}

.sub-hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://placehold.co/1920x1080/0066cc/white?text=Doğuhan+Beton') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    padding: 2rem 0;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.product-image {
    transition: var(--transition);
}

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

.product-filter {
    margin: 0 5px;
    border-radius: 25px;
    padding: 8px 20px;
}

/* Modern Product Cards */
.modern-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

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

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

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.modern-product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,102,204,0.9), rgba(0,51,102,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.modern-product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.overlay-content ul {
    text-align: left;
}

.overlay-content li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-features {
    margin-top: 1rem;
}

.product-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
}

/* Product Filter Buttons */
.btn-group-vertical .btn {
    margin-bottom: 0.5rem;
    border-radius: 15px !important;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-group-vertical .btn:hover,
.btn-group-vertical .btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.btn-group-vertical .btn i {
    font-size: 1.2rem;
}

/* Product Sections */
.product-section {
    margin-bottom: 4rem;
}

.product-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.product-section .section-title i {
    font-size: 2.5rem;
    margin-right: 1rem;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .modern-product-card {
        margin-bottom: 2rem;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .btn-group-vertical .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .product-section .section-title {
        font-size: 1.8rem;
    }
}

/* Fleet Cards */
.fleet-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.fleet-icon {
    color: var(--primary-color);
}

.fleet-specs {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Area Cards */
.area-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.area-icon {
    color: var(--primary-color);
}

.area-card ul {
    text-align: left;
    margin-top: 1rem;
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper i {
    color: var(--primary-color);
}

/* Equipment Cards */
.equipment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.equipment-icon {
    color: var(--primary-color);
}

/* Job Cards */
.job-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-header h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.job-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.job-requirements {
    margin-bottom: 1.5rem;
}

.job-requirements h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.job-requirements li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Certificate Cards */
.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.certificate-icon {
    color: var(--primary-color);
}

.certificate-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Standard Cards */
.standard-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.standard-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.standard-card ul {
    margin: 0;
    padding: 0;
}

.standard-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.standard-card li:last-child {
    border-bottom: none;
}

/* Category Cards */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.category-icon {
    color: var(--primary-color);
}

.project-count {
    margin-top: 1rem;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-xl);
}

.project-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.project-features {
    margin-top: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    font-size: var(--font-size-base);
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-info h5 {
    margin: 0;
    color: var(--text-color);
    font-size: var(--font-size-large);
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h5 {
    margin: 0;
    color: var(--text-color);
    font-size: var(--font-size-large);
}

.rating {
    color: #ffc107;
}

.review-content {
    margin-bottom: 1rem;
}

.review-content p {
    font-style: italic;
    color: #666;
    font-size: var(--font-size-base);
    margin: 0;
}

.review-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Satisfaction Cards */
.satisfaction-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.satisfaction-icon {
    color: var(--primary-color);
}

.satisfaction-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.satisfaction-label {
    color: #666;
    font-size: var(--font-size-base);
    margin: 0;
}

/* Review Form */
.review-form-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    margin: 0 0.1rem;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.contact-icon {
    color: var(--primary-color);
}

/* Working Hours */
.working-hours-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hours-item h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-xl);
}

.hours-item ul {
    margin: 0;
    padding: 0;
}

.hours-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: var(--font-size-base);
}

.hours-item li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-card h3 {
    color: var(--text-color);
    font-size: var(--font-size-2xl);
}

/* Contact Info */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-info-card h4 {
    color: var(--text-color);
    font-size: var(--font-size-xl);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.quick-contact-item:hover {
    background: var(--primary-color);
    color: white;
}

.quick-contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 30px;
}

.quick-contact-item h6 {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
}

.quick-contact-item p {
    margin: 0;
    font-size: var(--font-size-small);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control, .form-select {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

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

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: var(--transition);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card, .product-card {
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .navbar-brand img {
        height: 25px;
    }
}