/* Split Hero Styles */
.split-hero {
    display: flex;
    flex-direction: column;
    height: 85vh;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .split-hero {
        flex-direction: row;
    }
}

.split-item {
    position: relative;
    flex: 1;
    display: flex;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s ease;
    height: 50vh;
}

/* Left Side Alignment (Bottom Left) */
.split-item:first-child {
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
}

/* Right Side Alignment (Bottom Right) */
.split-item:last-child {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

@media (min-width: 768px) {
    .split-item {
        height: 100%;
    }
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    filter: brightness(0.85);
}

.split-item:hover .split-bg {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.split-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem;
    transition: transform 0.3s ease;
    max-width: 80%;
}

.split-item:hover .split-content {
    transform: translateY(-5px);
}

.split-content h2 {
    font-family: 'Caudex', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    margin: 0;
}

.split-content span {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.split-item:hover .split-content span {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Existing Gallery Styles */
.cake-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cake-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.cake-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.cake-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.cake-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.cake-item:hover .cake-overlay {
    transform: translateY(0);
}

.cake-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* Ingredients Section Styles */
.ingredients-section {
    padding: 5rem 0;
    background-color: var(--color-primary-bg);
    text-align: center;
}

.ingredients-title {
    font-family: 'Caudex', serif;
    font-size: 3rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.ingredients-subtitle {
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 900px) {
    .ingredients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ingredient-item {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    border: 1px solid var(--color-accent);
    /* Green accent border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ingredient-item:hover {
    transform: translateY(-5px);
}

.ingredient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Framed Cakes Section */
/* Framed Cakes Section */
.framed-section {
    padding: 8rem 0;
    background-color: #121212;
    /* Geometric SVG Pattern */
    background-image: url('../photos/backgrounds/pattern_geometric.svg');
    background-repeat: repeat;
    background-size: 400px 400px;
    color: #ffffff;
    text-align: center;
}

.framed-title {
    font-family: 'Serif', Georgia, serif;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: none;
}

.framed-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5rem;
    color: #cccccc;
}

.framed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 6rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 900px) {
    .framed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.framed-item {
    position: relative;
    padding: 0;
    border: 4px solid #FDE8AE;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(253, 232, 174, 0.5), inset 0 0 10px rgba(253, 232, 174, 0.2);
    cursor: pointer;
}

/* Hover Overlay */
.framed-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 1));
    z-index: 5;
    transition: top 0.4s ease;
}

.framed-item:hover::before {
    top: 0;
}

/* Hover Info Container */
.framed-hover-info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
    transition: top 0.4s ease;
    color: #1A1A1A;
    text-align: center;
}

.framed-item:hover .framed-hover-info {
    top: 0;
}

/* Middle Frame White */
.framed-item:nth-child(3n+2) {
    border-color: #F9F9F7;
    box-shadow: 0 0 20px rgba(249, 249, 247, 0.5), inset 0 0 10px rgba(249, 249, 247, 0.2);
}

.framed-item:hover {
    border-color: #FDE8AE;
    transform: translateY(-5px);
    box-shadow: 0 0 45px rgba(253, 232, 174, 0.8), inset 0 0 25px rgba(253, 232, 174, 0.3);
}

/* Hover Info Styles */
.hover-cake-name {
    font-family: 'Serif', Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Decorative separator line */
.hover-cake-name::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #D4AF37, #FDE8AE);
    margin: 1rem auto;
}

.hover-cake-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555555;
    max-width: 85%;
    font-weight: 300;
}

.hover-cake-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hover-cake-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1A1A1A;
    color: #FDE8AE;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    border: 2px solid #1A1A1A;
    transition: all 0.3s ease;
}

.hover-cake-btn:hover {
    background-color: transparent;
    color: #1A1A1A;
    border-color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.framed-item:nth-child(3n+2):hover {
    border-color: #F9F9F7;
    box-shadow: 0 0 45px rgba(249, 249, 247, 0.8), inset 0 0 25px rgba(249, 249, 247, 0.3);
}

.framed-img-container {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
}

.framed-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.framed-item:hover .framed-img {
    transform: scale(1.05);
}

/* Text moved below image or overlaid cleanly */
.framed-content {
    padding: 1rem 0;
    width: 100%;
    position: relative;
    background: transparent;
    z-index: 2;
}

.framed-name {
    font-family: 'Serif', Georgia, serif;
    font-size: 1.4rem;
    /* Reduced font size from 1.8rem */
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: none;
}

.framed-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    /* Reduced font size from 1.1rem */
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: none;
}