/*
Theme Name: Skyscape Aviation
Theme URI: https://skyscape.co.in
Author: Arif Khan
Author URI: https://skyscape.co.in
Description: Professional WordPress theme for SkyScape Aviation - aviation lubricants and accessories
Version: 2.0.0
License: GPL v2 or later
Text Domain: skyscape-aviation
*/

/* Theme styles are in assets/css/main.css */

/* Global Styles */
:root {
  --ice-blue: #a1c6e7;
  --dark-blue: #5d8fc9;
  --black: #000000;
  --white: #ffffff;
  --light-gray: #f5f5f5;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  max-height: 200px;
}

/* Custom Logo In your CSS */
.custom-logo {
    width: 250px;       /* Maximum width */
    height: auto;       /* Maintain aspect ratio */
    max-height: 100px;  /* Maximum height */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .custom-logo {
        width: 180px;
        max-height: 80px;
    }
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation li {
  margin-left: 25px;
}

.main-navigation a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: var(--ice-blue);
}

/* Carousel Styles */
.carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 20px;
  max-width: 600px;
  margin-left: 50px;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
}

.carousel-control.active {
  background-color: var(--white);
}

/* Product Grid */
aviation-collage1.png

/* Search Bar */
.search-container {
  margin: 30px 0;
  text-align: center;
}

.search-input {
  padding: 12px 20px;
  width: 100%;
  max-width: 500px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* Forms */
.aviation-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

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

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.form-button {
  background-color: var(--ice-blue);
  color: var(--black);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.form-button:hover {
  background-color: var(--dark-blue);
  color: var(--white);
}
/* Page Banner */
        .page-banner {
            height: 300px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            position: relative;
        }

        .page-banner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
        }

        .banner-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            padding: 0 20px;
        }

        .banner-content h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--white);
        }

        .banner-content p {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        /* Two Column Layout */
        .two-column-section {
            padding: 60px 0;
            background-color: var(--white);
        }

        .two-column-container {
            display: flex;
            gap: 40px;
        }

        .text-column {
            flex: 1;
        }

        .image-column {
            flex: 1;
        }

        .text-column h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--dark-blue);
        }

        .text-column p {
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .image-column img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Four Column Gallery */
        .gallery-section {
            padding: 60px 0;
            background-color: var(--white);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .gallery-item {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-image {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .gallery-info {
            padding: 15px;
        }

        .gallery-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--black);
        }

        .gallery-description {
            color: #666;
            margin-bottom: 15px;
            font-size: 14px;
        }

        /* Safety Standards */
        .safety-standards {
            padding: 60px 0;
            background-color: var(--light-gray);
        }

        .standards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .standard-card {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .standard-icon {
            font-size: 2.5rem;
            color: var(--dark-blue);
            margin-bottom: 20px;
        }

        .standard-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark-blue);
        }

        /* Contact Form */
        .contact-section {
            padding: 60px 0;
            background-color: var(--white);
        }

        .contact-container {
            display: flex;
            gap: 40px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-form {
            flex: 1;
        }

        .info-item {
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
        }

        .info-icon {
            font-size: 1.5rem;
            color: var(--dark-blue);
            margin-right: 15px;
            min-width: 30px;
        }

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

        .form-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }

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

        .form-button {
            background-color: var(--ice-blue);
            color: var(--black);
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s;
        }

        .form-button:hover {
            background-color: var(--dark-blue);
            color: var(--white);
        }
/* Footer */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 0;
}

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

.footer-section h3 {
  margin-bottom: 15px;
  color: var(--ice-blue);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

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

.footer-section a:hover {
  color: var(--ice-blue);
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  .main-navigation ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-navigation li {
    margin: 5px 10px;
  }
  
  .carousel {
    height: 400px;
  }
  
  .slide-content {
    margin-left: 20px;
    padding: 15px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 300px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Product Card Enhancements */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--ice-blue);
    color: var(--black);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.product-category {
    color: var(--dark-blue);
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-specs {
    margin: 15px 0;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    font-weight: 600;
    color: var(--black);
}

.spec-value {
    color: #666;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-actions .form-button {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.form-button.outline {
    background-color: transparent;
    border: 2px solid var(--ice-blue);
    color: var(--black);
}

.form-button.outline:hover {
    background-color: var(--ice-blue);
    color: var(--black);
}

/* Product Modal */
#product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
}

#product-modal .modal-content {
    position: relative;
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#product-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#product-modal .modal-title {
    color: var(--black);
    margin: 0;
}

#product-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

#product-modal .modal-close:hover {
    color: var(--black);
}

#product-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#product-modal .product-gallery {
    position: relative;
}

#product-modal .product-main-image {
    width: 100%;
    height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 10px;
}

#product-modal .product-thumbnails {
    display: flex;
    gap: 10px;
}

#product-modal .product-thumb {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#product-modal .product-thumb:hover,
#product-modal .product-thumb.active {
    opacity: 1;
}

#product-modal .product-details {
    padding: 10px 0;
}

#product-modal .product-specs-full {
    margin: 20px 0;
}

#product-modal .specs-table {
    width: 100%;
    border-collapse: collapse;
}

#product-modal .specs-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

#product-modal .specs-table tr:last-child td {
    border-bottom: none;
}

#product-modal .spec-name {
    font-weight: 600;
    color: var(--black);
}

#product-modal .product-actions-full {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive adjustments for product modal */
@media (max-width: 768px) {
    #product-modal .modal-body {
        grid-template-columns: 1fr;
    }
    
    #product-modal .product-actions-full {
        flex-direction: column;
    }
}