/* Custom Styles for Aydın Metal Elektronik */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-top: 76px;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Product Cards */
.product-card a {
    color: inherit;
}

.product-card a:hover {
    text-decoration: none;
}

.product-card img {
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* About Image Placeholder */
.about-image-placeholder {
    text-align: center;
    padding: 0;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* About Images Gallery */
.about-images-gallery {
    text-align: center;
}

.about-gallery-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.about-gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 85%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #000;
    background-color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
    padding-bottom: 5px;
}

.image-modal-close::before {
    content: '×';
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.image-modal-close:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Contact Card */
.contact-card {
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 80px;
    right: 17px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #5568d3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* Content Section */
.content-section {
    line-height: 1.8;
}

.content-section p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

footer ul {
    text-align: center;
}

footer ul li {
    text-align: center;
}

footer .social-media-buttons {
    justify-content: flex-end;
    margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
        background-position: left center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 70px;
        right: 12px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }
    
    .about-images-gallery {
        margin-top: 2rem;
    }
    
    .image-modal-content {
        max-width: 80%;
        max-height: 75%;
    }
    
    .social-media-nav {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 10px;
        border-top: none;
        margin-top: 10px;
    }
    
    .social-media-buttons {
        justify-content: center;
    }
    
    .social-icon {
        font-size: 28px;
    }
    
    .navbar-nav .nav-item {
        margin-left: 5px;
        margin-right: 5px;
    }
    
    .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
    
}

@media (max-width: 576px) {
    .about-images-gallery {
        margin-top: 1.5rem;
    }
    
    .about-gallery-img {
        max-width: 150px !important;
    }
    
    .image-modal-content {
        max-width: 95%;
        max-height: 75%;
    }
    
    .image-modal-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    
    .hero-section {
        min-height: 70vh;
        padding-top: 100px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 60px;
        right: 10px;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-section {
        background-size: cover;
        background-position: left center;
    }
}

/* Statistics Section */
.stat-card {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #ff8c00;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Footer Custom Widths */
@media (min-width: 992px) {
    .footer-col-35 {
        flex: 0 0 29.17%;
        max-width: 29.17%;
    }
    
    .footer-col-25 {
        flex: 0 0 20.83%;
        max-width: 20.83%;
    }
    
    .footer-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }
    
    .footer-products li {
        margin-bottom: 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

/* Social Media Buttons in Navbar */
.social-media-nav {
    margin-left: 15px;
    padding-left: 15px;
    border-left: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.social-media-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 24px;
    background: none;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 10px;
}

/* Print Styles */
@media print {
    .whatsapp-button,
    .scroll-to-top {
        display: none !important;
    }
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container {
        min-height: 400px !important;
    }
    
    .map-container iframe {
        min-height: 400px !important;
    }
}

