/* AERO INDIA - Modern Redesign */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Orbitron:wght@400;500;600;700&display=swap');

:root {
    /* Primary colors */
    --primary: #005164;       /* Deep blue */
    --secondary: #DF852C;     /* Orange accent */
    --tertiary: #1D8845;      /* Green accent */
    --light-blue: #C0E6EF;    /* Light blue accent */
    --dark: #1a1a1a;          /* Near black */
    --light: #f5f5f5;         /* Off white */
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
}

/* Basic Elements */
body {
    font-family: var(--font-primary);
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--primary);
}

a {
    color: var(--secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--tertiary);
    text-decoration: none;
}

/* Navigation */
.navbar {
    background-color: #F1F8FB;
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo-text {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    height: 70px; /* Adjusting logo size */
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
    color: #005164;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* Navbar toggler and mobile navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-light .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-light .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-brand img {
        height: 60px; /* Slightly smaller on mobile */
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    /* Ensures the dropdown closes when clicking elsewhere */
    .navbar-collapse.show {
        position: absolute;
        width: calc(100% - 30px);
        z-index: 1000;
        top: 100%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-aero-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-aero-primary:hover {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-aero-secondary {
    background-color: var(--tertiary);
    border-color: var(--tertiary);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-aero-secondary:hover {
    background-color: transparent;
    color: var(--tertiary);
    border-color: var(--tertiary);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Zone Cards */
.zone-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.zone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.zone-card:hover img {
    transform: scale(1.1);
}

.zone-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    z-index: 2;
}

.zone-card .card-title {
    font-family: var(--font-accent);
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: white;
}

.zone-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.zone-card:hover .card-text {
    opacity: 1;
    transform: translateY(0);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-container {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-card .product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    width: 100%;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.product-card .card-title {
    font-family: var(--font-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.product-card .card-text.organization {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.product-card .btn-aero-primary {
    padding: 0.5rem 1.5rem;
}

/* Product Detail */
.product-detail {
    padding: 50px 0;
}

.product-detail img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-detail h2 {
    font-family: var(--font-accent);
    color: var(--primary);
    margin-bottom: 20px;
}

.product-detail .organization {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 20px;
}

.product-detail-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
}

.footer h5 {
    color: white;
    font-family: var(--font-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
    text-decoration: none;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Brand-specific colors */
.facebook-icon {
    background-color: #1877F2;
}

.facebook-icon:hover {
    background-color: #0d65d9;
}

.x-icon {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.x-icon:hover {
    background-color: #333333;
}

.youtube-icon {
    background-color: #FF0000;
}

.youtube-icon:hover {
    background-color: #cc0000;
}

.instagram-icon {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.instagram-icon:hover {
    background: linear-gradient(45deg, #833AB4, #C13584, #E1306C, #FD1D1D, #405DE6, #5851DB);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in both;
}

.slide-up {
    animation: slideUp 0.6s ease-out both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .zone-card {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .zone-card .card-title {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
    }
    
    .social-icons img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.7rem 0;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .social-icons {
        justify-content: center;
    }
} 