/* style.css - Styles specific to index.html */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Caveat', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(0, 0, 0, 0.3),
                 0 0 40px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5),
                 0 0 15px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.5s ease;
    transition: color 0.3s ease;
    transition: transform 0.5s ease;
}

.cta-button:hover {
    background: var(--white);
    color: var(--orange);
    transform: scale(1.05);
    border: 2px solid var(--orange);
}

/* About Section */
.about {
    padding: 100px 0;
    text-align: center;
}

.about h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.about p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* About Section Image */
.image-content img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    display: block;
    margin: 0 auto;
}

/* About Section Grid Layout */
.content-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.text-content {
    flex: 1 1 320px;
    min-width: 260px;
}

.image-content {
    flex: 1 1 320px;
    min-width: 220px;
    text-align: center;
}

@media (max-width: 900px) {
    .content-grid {
        flex-direction: column;
        gap: 32px;
    }
    .image-content img {
        max-width: 90vw;
    }
}

/* Shop Section */
.shop {
    padding: 100px 0;
    text-align: center;
}

.shop h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.shop-info {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.shop-info p {
    margin-bottom: 15px;
}

.shop-info strong {
    color: var(--orange);
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Caveat', cursive;
    font-size: 5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card, .form-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gold);
}

.info-card h3, .form-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gold);
    font-weight: 700;
}

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

.info-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.info-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: var(--gold);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold-hover);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gold);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

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

.submit-button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .contact {
        padding: 80px 0;
    }

    .section-title {
        font-size: 4.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .section-title {
        font-size: 4rem;
    }

    .info-card, .form-card {
        padding: 30px;
    }

    .info-card h3, .form-card h3 {
        font-size: 1.8rem;
    }

    .info-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 3.5rem;
    }

    .info-card, .form-card {
        padding: 20px;
    }
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

/* Background Image Mobile Optimization */
@media (max-width: 768px) {
    .background-image {
        display: none;
    }

    body {
        background-image: url('../img/backPhone.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-color: #000;
    }

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 0;
        pointer-events: none;
    }

    .section {
        position: relative;
        z-index: 1;
    }

    .hero {
        position: relative;
        z-index: 1;
    }
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu a {
        color: var(--white);
        font-size: 1.5rem;
        margin: 1rem 0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .mobile-menu a:hover {
        color: var(--orange);
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    *, *::before, *::after {
        box-sizing: border-box;
        max-width: 100;
    }
    img, iframe, video {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .container, .section, .footer, .footer-grid, .footer-bottom, .footer-legal {
        width: 100%;
        max-width: 100;
        margin-left: 0;
        margin-right: 0;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        box-sizing: border-box;
    }
    body {
        position: relative;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .section {
        width: 100%;
        max-width: 100%;
        padding: 3rem 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .about-content {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .about-text {
        padding: 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .menu-grid {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .menu-item {
        padding: 1rem;
    }

    .menu-item h3 {
        font-size: 1.2rem;
    }

    .menu-item p {
        font-size: 0.9rem;
    }

    .menu-item .price {
        font-size: 1.1rem;
    }

    .contact-grid {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .store-info {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
        box-sizing: border-box;
    }

    .store-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .store-info p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .map-container {
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0 0 0;
        box-sizing: border-box;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .menu-item h3 {
        font-size: 1.1rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    /* Enhanced mobile improvements */
    .hero {
        height: 80vh;
        padding: 0 15px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .content-grid {
        gap: 30px;
        padding: 0 15px;
    }
    
    .text-content {
        order: 2;
    }
    
    .image-content {
        order: 1;
    }
    
    .image-content img {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .shop {
        padding: 60px 0;
    }
    
    .shop-info {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .map-container {
        margin: 0 15px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-grid {
        gap: 30px;
        padding: 0 15px;
    }
    
    .info-card, .form-card {
        padding: 25px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-button {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        min-height: 44px;
        padding: 15px 30px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
        font-size: 16px;
    }
    
    .submit-button {
        min-height: 44px;
    }
    
    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .content-grid {
        flex-direction: row;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
    .footer {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 2rem;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .footer-section {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--white);
    }

    .footer-section p,
    .footer-section a {
        font-size: 1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        display: inline-block;
        margin: 0.5rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

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

    .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin: 1rem 0;
    }

    .social-links a {
        margin: 0;
        font-size: 1.5rem;
    }

    /* Newsletter Form Mobile Fix */
    .newsletter-form {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border-radius: 5px;
        box-sizing: border-box;
    }

    .newsletter-form button {
        width: auto;
        min-width: 120px;
        max-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        background: var(--orange);
        color: var(--white);
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .newsletter-form button:hover {
        background: var(--orange-dark);
    }

    .footer-bottom {
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
    }
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--orange);
}

@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-legal a {
        font-size: 0.85rem;
    }
}
