/* Global Styles */
:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch; /* Stretch to include all content */
    padding-top: 80px; /* Account for fixed navbar */
    padding-bottom: 80px; /* More bottom padding for better spacing */
    width: 100%; /* Ensure full width coverage */
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 60px 0; /* Increased vertical padding for better content coverage */
    width: 100%; /* Ensure full width */
    min-height: 100%; /* Ensure full height coverage */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 10px; /* Add spacing between buttons */
}

.hero-section .btn:last-child {
    margin-right: 0; /* Remove margin from last button */
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    display: inline-block;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
}

.hero-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-highlights {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

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

.product-image {
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    padding: 10px;
}

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

.product-info {
    background: white;
}

.product-info .btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 20px;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
}

.about-content {
    padding: 80px 0;
}

.about-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

/* Products Page */
.product-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-detail-image {
    height: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-detail-content {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-list li:before {
    content: '✔';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Contact Page */
.contact-info {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

/* Contact Option Cards */
.contact-option-card {
    transition: var(--transition);
    border: 2px solid #e9ecef !important;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color) !important;
}

.contact-option-card .contact-icon {
    transition: var(--transition);
}

.contact-option-card:hover .contact-icon i {
    transform: scale(1.1);
}

.quick-contact-info {
    border: 1px solid #e9ecef;
}

.quick-contact-info i {
    font-size: 1.5rem;
}

.quick-contact-info a {
    color: var(--text-color);
    transition: var(--transition);
}

.quick-contact-info a:hover {
    color: var(--primary-color);
}

.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .text-muted {
    color: #b8c2cc !important;
}

footer p.text-muted {
    color: #b8c2cc !important;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Better mobile padding for all containers */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .hero-section {
        padding-top: 120px; /* Increased to clear fixed navbar on mobile */
        padding-bottom: 80px; /* More bottom padding for inclusive coverage */
        min-height: 100vh; /* Full height on mobile */
        background-attachment: scroll; /* Better performance on mobile */
        align-items: stretch; /* Ensure all content is covered */
    }
    
    .hero-overlay {
        padding: 60px 20px; /* Better vertical and horizontal padding for mobile */
        min-height: 100%; /* Full height coverage */
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        padding: 0 10px; /* Add horizontal padding to title */
        animation: slideInLeft 1s ease-out !important; /* Horizontal animation for mobile */
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px; /* Add horizontal padding to description */
        animation: slideInLeft 1s ease-out 0.2s both !important; /* Horizontal animation for mobile */
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .product-card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    
    /* Better mobile spacing for sections */
    section {
        padding: 40px 0 !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Extra top padding for "Great Choice For" section on mobile */
    .py-5.bg-light {
        padding-top: 4rem !important; /* More top padding for better spacing from hero */
    }
    
    /* Mobile button animation */
    .hero-section .btn {
        animation: slideInLeft 1s ease-out 0.4s both !important; /* Horizontal animation for mobile buttons */
    }
    
    /* Mobile column order - ensure image stays first on mobile */
    .hero-section .row > div:first-child {
        order: 1; /* Image column stays first */
    }
    
    .hero-section .row > div:last-child {
        order: 2; /* Text column comes second */
        margin-bottom: 3rem; /* Add space after text section on mobile */
        padding-bottom: 2rem; /* Extra padding for better spacing */
    }
    
    /* Hero Image Mobile Styles */
    .hero-image-container {
        margin-top: 0; /* Remove top margin since image is now first */
        margin-bottom: 2rem; /* Add bottom margin for spacing from text */
        padding: 0 15px; /* Add horizontal padding */
    }
    
    .hero-image-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: -50px;
        margin-left: 20px;
        margin-right: 20px;
        padding: 15px; /* Add internal padding */
    }
    
    .product-highlights {
        flex-direction: column;
        gap: 10px;
    }
    
    .highlight-item {
        flex-direction: row;
        gap: 10px;
    }
    
    .highlight-item i {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    /* Extra padding for very small screens */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    
    .hero-section {
        padding-top: 110px; /* Increased to clear fixed navbar on very small screens */
        padding-bottom: 60px; /* More bottom padding for inclusive coverage */
        min-height: 100vh; /* Full height on very small screens */
        background-attachment: scroll; /* Better performance on mobile */
        align-items: stretch; /* Ensure all content is covered */
    }
    
    .hero-overlay {
        padding: 50px 15px; /* Better vertical and horizontal padding for very small screens */
        min-height: 100%; /* Full height coverage */
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        padding: 0 5px; /* Extra padding for very small screens */
        animation: slideInLeft 1s ease-out !important; /* Horizontal animation for very small screens */
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        padding: 0 5px; /* Extra padding for very small screens */
        animation: slideInLeft 1s ease-out 0.2s both !important; /* Horizontal animation for very small screens */
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Stack buttons vertically on very small screens */
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0; /* Remove horizontal margin */
        animation: slideInLeft 1s ease-out 0.4s both !important; /* Horizontal animation for mobile buttons */
    }
    
    /* Extra spacing after text section on very small screens */
    .hero-section .row > div:last-child {
        margin-bottom: 2.5rem; /* Slightly less margin for very small screens */
        padding-bottom: 1.5rem; /* Adjusted padding for compact screens */
    }
    
    .hero-section .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Adjust hero image container for very small screens */
    .hero-image-container {
        padding: 0 10px; /* Reduced padding for very small screens */
    }
    
    .hero-image-overlay {
        padding: 10px; /* Reduced internal padding */
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Product Modal Side-by-Side Layout */
.modal-body .row {
    align-items: flex-start;
}

.modal-body .col-lg-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-body .col-lg-5 img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
}

.modal-body .col-lg-7 {
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-body .product-description {
    flex: 1;
    line-height: 1.7;
}

.modal-body .product-description h6 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.modal-body .product-description p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.modal-body .product-description ul,
.modal-body .product-description ol {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
}

.modal-body .product-description li {
    margin-bottom: 0.5rem;
}

.modal-body .contact-button-container {
    margin-top: auto;
    padding-top: 15px;
}

/* Mobile Responsive for Product Modals */
@media (max-width: 768px) {
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-lg-6 {
        margin-bottom: 20px;
    }
    
    .modal-body .col-lg-6:last-child {
        padding-left: 0;
    }
    
    .modal-body .col-lg-6 img {
        max-height: 300px !important;
        object-fit: contain !important;
        padding: 10px !important;
    }
    
    .modal-body .col-lg-6 .text-center {
        margin-top: 15px;
    }
    
    .modal-body .product-description {
        line-height: 1.6;
    }
    
    .modal-body .product-description h6 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .modal-body .product-description p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .modal-body .product-description ul,
    .modal-body .product-description ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }
} 