/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arimo", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.main-header {
    background-color: #002c77;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: #1e72bd;
}

.nav-link.active {
    background-color: #1e72bd;
}

/* External Link Icon */
.nav-link.external-link,
.mobile-nav-link.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.external-link-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link:hover .external-link-icon,
.mobile-nav-link:hover .external-link-icon {
    opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #002c77;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 80px 0 2rem 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: #1e72bd;
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('../images/kitchen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background-color: #fff;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background-color: #fff;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    color: #2E2869;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E2869;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('../images/calacatta-black.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    letter-spacing: 2px;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background-color: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: auto;
}

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

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002c77;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.about-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Products Intro Section */
.products-intro-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.products-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.products-intro-text {
    font-size: 2rem;
    font-weight: 600;
    color: #002c77;
    line-height: 1.4;
    margin: 0;
}

/* Products Gallery Section */
.products-gallery-section {
    padding: 3rem 2rem 5rem;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.products-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 11;
}

.filter-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Arimo", sans-serif;
    color: #002c77;
    background-color: #fff;
    border: 2px solid #002c77;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    position: relative;
    z-index: 12;
    pointer-events: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #002c77;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 11;
}

.product-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    position: relative;
    z-index: 12;
    pointer-events: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

.product-item:active {
    transform: translateY(-2px);
}

.product-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    background-color: #f0f0f0;
    transition: opacity 0.3s ease;
}

.product-thumbnail:not(.loaded) {
    opacity: 0.7;
}

.product-thumbnail.loaded {
    opacity: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 10001;
    text-align: center;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
    z-index: 10002;
}

.modal-close:hover {
    opacity: 0.8;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-transform: capitalize;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contact Hero Section */
.contact-hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('../images/kitchen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 2rem;
    background-color: #fff;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002c77;
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: "Arimo", sans-serif;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #002c77;
}

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

.form-submit-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: "Arimo", sans-serif;
    color: #fff;
    background-color: #002c77;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

.form-submit-btn:hover {
    background-color: #1e72bd;
}

.form-submit-btn:active {
    transform: translateY(1px);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

/* Footer */
.main-footer {
    background-color: #002c77;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-menu li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #1e72bd;
}

.footer-link.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link .external-link-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link:hover .external-link-icon {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-address {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-phone {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .logo {
        height: 50px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav-overlay {
        display: none !important;
    }
    
    .mobile-nav-overlay.active {
        display: block !important;
    }

    /* Hero Section Mobile */
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    .hero-divider {
        width: 80px;
        height: 2px;
        margin: 1.5rem auto;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 3rem 1.5rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon svg {
        width: 56px;
        height: 56px;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        min-height: 400px;
        background-attachment: scroll;
        padding: 3rem 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 3rem 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    /* Products Intro Mobile */
    .products-intro-section {
        padding: 3rem 1.5rem;
    }

    .products-intro-text {
        font-size: 1.5rem;
    }

    /* Products Gallery Mobile */
    .products-gallery-section {
        padding: 2rem 1rem 3rem;
    }

    .gallery-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .product-thumbnail {
        height: 200px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .modal-caption {
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    /* Contact Hero Mobile */
    .contact-hero-section {
        min-height: 400px;
        background-attachment: scroll;
        padding: 3rem 1.5rem;
    }

    .contact-hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    /* Contact Form Mobile */
    .contact-form-section {
        padding: 3rem 1.5rem;
    }

    .contact-form-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        gap: 1.25rem;
    }

    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .main-footer {
        padding: 2.5rem 1.5rem 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-link {
        font-size: 0.95rem;
    }

    .contact-address,
    .contact-phone {
        font-size: 0.95rem;
    }
}

