/* Custom Styles to complement Tailwind CSS */

:root {
    --color-primary: #FF7F00;
    --color-secondary: #1A1A1A;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll from diagonals */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Kanit', sans-serif;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-effect-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Diagonal Separators */
.clip-diagonal-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.clip-diagonal-top {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.clip-zigzag {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

/* Button Styling */
.btn-primary {
    background: var(--color-primary);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background: #cc6600;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.3);
}

/* Image Frames */
.image-frame-wrapper {
    position: relative;
    padding: 10px;
}

.image-frame-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--color-primary);
    z-index: 0;
}

.image-frame-wrapper img {
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card i {
    transition: color 0.3s ease;
}

.service-card:hover i {
    color: white;
    text-shadow: 0 0 10px var(--color-primary);
}